diff options
author | Ty Dunn <ty@tydunn.com> | 2023-07-03 21:46:01 -0700 |
---|---|---|
committer | Ty Dunn <ty@tydunn.com> | 2023-07-03 21:46:01 -0700 |
commit | bbeea6ab78b14fa735962dbf4970be1230877097 (patch) | |
tree | b7ae0e85f7fb13fd2e1e7cd6873ee4ef8e67c699 /continuedev | |
parent | 6016e78b353d5afae9fe0a68c718fa2b2216dc5c (diff) | |
download | sncontinue-bbeea6ab78b14fa735962dbf4970be1230877097.tar.gz sncontinue-bbeea6ab78b14fa735962dbf4970be1230877097.tar.bz2 sncontinue-bbeea6ab78b14fa735962dbf4970be1230877097.zip |
config too
Diffstat (limited to 'continuedev')
-rw-r--r-- | continuedev/src/continuedev/steps/open_config.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/continuedev/src/continuedev/steps/open_config.py b/continuedev/src/continuedev/steps/open_config.py new file mode 100644 index 00000000..43c1b7ce --- /dev/null +++ b/continuedev/src/continuedev/steps/open_config.py @@ -0,0 +1,13 @@ +from ..core.main import Step +from ..core.sdk import ContinueSDK +import os + + +class OpenConfigStep(Step): + name: str = "Open config" + + async def run(self, sdk: ContinueSDK): + global_dir = os.path.expanduser('~/.continue') + config_path = os.path.join(global_dir, 'config.json') + print(config_path) + await sdk.ide.setFileOpen(config_path)
\ No newline at end of file |