Skip to main content

A CLI application for interacting with cube_model

Project description

cube-cli

A textual cli environment for manipulating a 3x3x3 cube and solving puzzles based on it.

Usage

cube [options] [file]

[file] is a saved cube from a previous session. If not specified, the cube is initialized to its solved state.

Options

--help --version

Commands

Before you enter a command, the current state of the cube is printed in a textual format.

<moves> A sequence of moves in standard cube move syntax. Case-insensitive. To specify a wide move, use a 'w' suffix.

^<moves> A sequence of moves in standard cube move syntax. Case-sensitive. To specify a wide move, use either a lower-case face letter or a 'w' suffix.

solve Return the cube to its initial solved position.

shuffle Randomize the position of the cube.

undo Undo the last previous command.

redo If the last previous command was an undo, reverse its effect.

save [file] Save the cube to a file. If [file] is not specified, save to the last file used for a load or save, or to cube.json in the current directory.

load [file] Load a saved cube. If [file] is not specified, load from the last file used for a load or save, or to cube.json in the current directory.

help, ? Print this command reference.

quit, q Exit cube.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cube_cli-0.3.0.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cube_cli-0.3.0-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file cube_cli-0.3.0.tar.gz.

File metadata

  • Download URL: cube_cli-0.3.0.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for cube_cli-0.3.0.tar.gz
Algorithm Hash digest
SHA256 8cab6891b5c3ec6730d9b99b63bea598e6865cf61529464a6a7cf3cdd5a88c2c
MD5 1b7fc6ae4b1e26368cd8b1e6145460af
BLAKE2b-256 98ac294b679585c454fc8d28a9d49d9e1a2a8a9b35584b5eaafb5a8da43686bc

See more details on using hashes here.

File details

Details for the file cube_cli-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: cube_cli-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for cube_cli-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c74d0cb8995a03e149f4c7b0255d513167769af73d196d194b073319e54a5607
MD5 aac44512c0c5580fb73c4957cad6f973
BLAKE2b-256 97f469c780a2c7e1b7020f775b150793fdbc8c57c7552cb6eedfdb5243e9e81a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page