Skip to content

Commit

Permalink
Merge pull request #400 from nigoshh/patch-1
Browse files Browse the repository at this point in the history
alias for Windows Command Prompt (cmd.exe)
  • Loading branch information
nygrenh authored Mar 12, 2019
2 parents 4f35cea + 999b17a commit 524f26e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ If for some reason nothing was added to your .bashrc or your shell of choice is

If you are using Windows and you downloaded the .jar file, you must use tmc-cli directly with Java like so: `java -jar [path_to_tmc-cli.jar]`. In the following examples, replace `tmc` with this command. (note: you must have set Java on your system `%PATH%`. For more information, see [this Java help page](https://www.java.com/en/download/help/path.xml).)

Tip: On Windows, use `doskey tmc="java -jar [path_to_tmc-cli.jar] $*"` in cmd.exe or `doskey /exename=powershell.exe tmc="java -jar [path_to_tmc-cli.jar] $*"` in PowerShell to create a convenient alias.
Tip: On Windows, use `doskey tmc=java -jar [path_to_tmc-cli.jar] $*` in cmd.exe or `doskey /exename=powershell.exe tmc="java -jar [path_to_tmc-cli.jar] $*"` in PowerShell to create a convenient alias.

Now that you've installed tmc-cli, you can view all available commands by running tmc without arguments or with `tmc --help`. You can also view all available options for commands by running them with the `--help` switch, for example `tmc courses --help`.

Expand Down

0 comments on commit 524f26e

Please sign in to comment.