File: routes.py

package info (click to toggle)
python-softlayer 5.8.5-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,888 kB
  • sloc: python: 41,631; makefile: 289; sh: 43
file content (19 lines) | stat: -rw-r--r-- 394 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
"""
    SoftLayer.CLI.routes
    ~~~~~~~~~~~~~~~~~~~
    Routes for shell-specific commands

    :license: MIT, see LICENSE for more details.
"""

ALL_ROUTES = [
    ('exit', 'SoftLayer.shell.cmd_exit:cli'),
    ('shell-help', 'SoftLayer.shell.cmd_help:cli'),
    ('env', 'SoftLayer.shell.cmd_env:cli'),
]

ALL_ALIASES = {
    '?': 'shell-help',
    'help': 'shell-help',
    'quit': 'exit',
}