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.4.0.tar.gz (9.2 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.4.0-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cube_cli-0.4.0.tar.gz
  • Upload date:
  • Size: 9.2 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.4.0.tar.gz
Algorithm Hash digest
SHA256 7bc8562061104a7dc9f7b5cd1aed5b787bbba834eceefab4a37971992addc44c
MD5 d0879356b442ded05fc1247be25bbc4e
BLAKE2b-256 1841e6cf87504811522ad549cf6bccd65b8619cbc32db7d75386a93bda3a6ae1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cube_cli-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 12.3 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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 810b0f8d49ca34e0ed61053cee12dfc7ee6b044219f34a01aa73e03a0a4a639c
MD5 088dc402966abad649759b6f39910dca
BLAKE2b-256 d2b17fd0c6ffc20bcf1cac38ab8c51e51ab2556ed5e6bce42ca641d54e53a043

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