https://github.com/mjc-gh/nodewar-tools
Command line tools for interacting with nodewar's API
https://github.com/mjc-gh/nodewar-tools
Last synced: 8 months ago
JSON representation
Command line tools for interacting with nodewar's API
- Host: GitHub
- URL: https://github.com/mjc-gh/nodewar-tools
- Owner: mjc-gh
- License: mit
- Created: 2013-04-12T14:26:54.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-04-15T13:43:53.000Z (over 12 years ago)
- Last Synced: 2025-01-20T23:55:47.434Z (9 months ago)
- Language: JavaScript
- Size: 128 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-MIT
Awesome Lists containing this project
README
nodewar-tools
=============Command line tools for interacting with nodewar's API
## Usage
All commands are run via the following.
nodewar-tools [cmd] [options]Additionally, all commands have a `--help` flag for more details on the command.
#### Commands
The command line tool provides a variety of commands to retrieving and
modifying data through the nodewar's API.- **auth**: Lets you login and stores a session token. See below.
- **list**: List available species.
- **load**: View a specific species
- **save**: Save code to specific species; first loads the species for the `version`.#### Authentication
First you'll need to auth and get a session token. Run the auth command
via:nodewar-tools auth --user [username]
You will then be prompted for a password. Once you successfully login, the
session will be saved to `$HOME/.nodewars`. This directory is not yet configurable.