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.
2 parents 11bfd57 + 2946d1a commit 12b47a3Copy full SHA for 12b47a3
stackdio/cli/__init__.py
@@ -24,8 +24,8 @@ class StackdioShell(
24
mixins.formulas.FormulaMixin,
25
mixins.blueprints.BlueprintMixin):
26
27
- CFG_DIR = os.path.expanduser("~/.stackdio-cli/")
28
- CFG_FILE = os.path.join(CFG_DIR, "config.json")
+ CFG_DIR = os.path.expanduser(os.getenv('STACKDIO_CFG_DIR',"~/.stackdio-cli/"))
+ CFG_FILE = os.path.join(CFG_DIR, os.getenv('STACKDIO_CFG_FILE',"config.json"))
29
BOOTSTRAP_FILE = os.path.join(CFG_DIR, "bootstrap.yaml")
30
KEYRING_SERVICE = "stackdio_cli"
31
PROMPT = "\n{username} @ {url}\n> "
0 commit comments