We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3be1891 commit 2eceb02Copy full SHA for 2eceb02
2 files changed
README.md
@@ -117,6 +117,13 @@ Optional parameters can be applied to each profile :
117
}
118
```
119
120
+## Get osc-cli version
121
+
122
+`--version` option will print osc-cli version and exit.
123
+```
124
+osc-cli --version
125
126
127
## Activate bash-completion
128
129
### Activate the completion for the current bash session
osc_sdk/sdk.py
@@ -780,6 +780,9 @@ def main():
780
print(f.read())
781
sys.exit()
782
return 0
783
+ elif a == "--version":
784
+ print(SDK_VERSION)
785
+ return 0
786
787
logging.basicConfig(level=logging.ERROR)
788
fire.Fire(api_connect)
0 commit comments