Available command functions:
teuton
Example:
> teuton
Commands:
teuton [run] [OPTIONS] DIRECTORY # Run challenge from directory
teuton check [OPTIONS] DIRECTORY # Test or check challenge contents
teuton help [COMMAND] # Describe available commands or one specific command
teuton new DIRECTORY # Create skeleton for a new project
teuton readme DIRECTORY # Create README.md file from challenge contents
teuton version # Show the program version
Alias:
teuton h
teuton -h
teuton --help
teuton version
Example:
$ teuton version
teuton (version 2.2.0)
Alias:
teuton v
teuton -v
teuton --version
Create teuton test skeleton.
teuton new foo
Example:
> teuton new foo
[INFO] Creating foo project skeleton
* Create dir => foo
* Create file => foo/config.yaml
* Create file => foo/start.rb
This command will create the next structure:
File/Directory | Description |
---|---|
foo | Base directory |
foo/start.rb | Main Script |
foo/config.yaml | YAML configuration file |
Alias:
teuton n foo
teuton -n foo
teuton --new foo
teuton check DIRPATH
Description: this command check teuton test and config files located into DIRPATH folder.
Command | Description |
---|---|
teuton check path/to/dir/foo | Test content of start.rb and config.yaml files. |
teuton check path/to/dir/foo --cname=demo | Test content of start.rb and demo.yaml files. |
teuton check path/to/file/foo.rb | Test content of foo.rb and foo.yaml files. |
teuton check path/to/file/foo.rb --cname=demo | Test content of foo.rb and demo.yaml files. |
Alias:
teuton c foo
teuton -c foo
teuton --check foo
teuton run DIRPATH
Description: this command run teuton test located into DIRPATH folder.
Alias:
teuton foo
teuton readme DIRPATH
Read test and config files content, and display information about what kind of problem/exercise it is going to be evaluated. The students need this information to resolv the problem/exercise into their machines.
The teacher could write this information or may use this command to generate automaticaly.
Alias:
teuton r DIRPATH
teuton -r DIRPATH
teuton --readme DIRPATH