paths command
Get information about Tethys paths from the Tethys Paths API and manage them. It can be used to list paths for specific apps or users and add files to those destinations.
For more info on the Paths API, see: Paths API.
usage: tethys paths [-h] {get,add} ...
Paths Commands
- paths_command
Possible choices: get, add
Sub-commands
get
Get Tethys Paths information.
tethys paths get [-h] -t
{app_workspace,user_workspace,app_media,user_media,app_public,app_resources}
-a APP [-u USER]
Named Arguments
- -t, --type
Possible choices: app_workspace, user_workspace, app_media, user_media, app_public, app_resources
Type of path to get.
- -a, --app
Tethys app name.
- -u, --user
Username (required for user-specific paths).
add
Add files to Tethys Paths.
tethys paths add [-h] -t
{app_workspace,user_workspace,app_media,user_media,app_public,app_resources}
-a APP [-u USER] -f FILE
Named Arguments
- -t, --type
Possible choices: app_workspace, user_workspace, app_media, user_media, app_public, app_resources
Type of path to add file to.
- -a, --app
Tethys app name.
- -u, --user
Username (required for user-specific paths).
- -f, --file
Path to the file to add.