config too
This commit is contained in:
parent
6016e78b35
commit
bbeea6ab78
1 changed files with 13 additions and 0 deletions
13
continuedev/src/continuedev/steps/open_config.py
Normal file
13
continuedev/src/continuedev/steps/open_config.py
Normal file
|
|
@ -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)
|
||||
Loading…
Add table
Reference in a new issue