Skip to main content

Version: 22.04

T-CLI Basic Commands

cd - Change Directory

Synopsis

cd PATH

Description

Change the T-CLI shell's current directory to PATH.

Examples

cd /dev/maestro
cd orgs/clitestorg/cli-test-project
cd ../../..

cls - Clear screen

Synopsis

cls

Description

Clear the contents of the T-CLI command shell window, and position the scm prompt at the top of the window.

Examples

cls

del - Delete file/directory

Synopsis

del PATH

Description

Delete the file or empty directory identified by PATH.

Specify a file or folder relative to the current directory. Relative paths including ../ are supported.

Recursive delete is not supported, so a folder that is not empty cannot be deleted. To delete a non-empty folder, delete everything inside it first.

Examples

del temp/temp2

dir - Directory listing

Synopsis

dir [ DIR_PATH ]

Description

Display the contents of the DIR_PATH directory, or the current directory if DIR_PATH is omitted.

Examples

dir
dir temp/temp2

help - Show help information

Synopsis

help [ COMMAND [ SUBCOMMAND ] ]

Description

Display information about the specified COMMAND or SUBCOMMAND.

Without any parameters, help displays general information about T-CLI.

Examples

help
help scm
help scm push

ls - List directory contents

Synopsis

ls [ DIR_PATH ]

Description

List the contents of the DIR_PATH directory, or the current directory if DIR_PATH is omitted.

Examples

ls
ls temp/temp2

mkdir - Create directory

Synopsis

mkdir DIR_PATH

Description

Creates a directory named DIR_PATH, relative to the current directory.

Relative paths including paths beginning with ../ are allowed.

Paths beginning with a slash / are treated as though there was no leading slash.

Examples

mkdir temp
mkdir temp/temp2
mkdir /temp (equivalent to 'mkdir temp')

pwd - Print working directory

Synopsis

pwd

Description

Display the absolute path of the current directory.

Examples

pwd

start - Execute a script

Synopsis

start SCRIPT_PATH

Description

Execute a local script in a new host OS shell window.

Relative paths including ../ are allowed.

start does not accept parameters, so if you need to execute a program requiring parameters, create a .bat (Windows) or .sh (Unix/Linux) file with the full command line and parameters in it, then execute the command file with start.

Examples

start status.bat
start ../commands/status.bat
start ../cmds/status.sh