File: slcli

package info (click to toggle)
python-softlayer 6.2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,508 kB
  • sloc: python: 57,195; makefile: 133; xml: 97; sh: 59
file content (11 lines) | stat: -rwxr-xr-x 286 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!python
# The above might need to be edited to your path to python3
import re
import sys

from SoftLayer.CLI.core import main

if __name__ == '__main__':
    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
   # print("arvs[0] = %s" % sys.argv[0])
    sys.exit(main())