You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 23, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: octoprint_cli/__main__.py
+4-94Lines changed: 4 additions & 94 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
#!/usr/bin/python3
1
+
#!/usr/bin/env python3
2
2
importargparse
3
3
importconfigparser
4
4
importos
@@ -9,6 +9,7 @@
9
9
importrequests
10
10
fromtermcolorimportcolored
11
11
fromoctoprint_cliimport__version__
12
+
fromoctoprint_cli.apiimportapi
12
13
13
14
config=configparser.ConfigParser()
14
15
parser=argparse.ArgumentParser(prog="octoprint-cli", description="Command line tool for controlling OctoPrint 3D printer servers", formatter_class=argparse.ArgumentDefaultsHelpFormatter)
0 commit comments