Open benhsm opened 2 years ago
thanks for the issue. we currently don't support creating a workspace via CLI, only activating it (this is confusing because we have a command called initialize workspace that creates a new workspace). going to re-classify this as a feature request. ideally, we would have dendron workspace create
create the workspace (and also rename the initialize workspace command we have in the plugin but thats a separate task)
@benhsm let me know if you'd be interested in this task, happy to give pointers on where to get started 😇
@kevinslin Yeah, sure I'd be willing to give it a shot :smiley:
Hey there @benhsm @kevinslin could I take a look at it too, please? I tried getting something started in https://github.com/icedwater/vimdendron, and I think at the time it was possible to do dendron workspace init
, but now I see that since 0.99.0 at least it hasn't been possible.
I'd love to be able to do my notes outside VSCode.
Please select the area your bug applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)
Describe the bug
It doesn't seem to be possible to initialize workspaces using the Dendron CLI. When this is attempted, the CLI program checks for a dendron.yml file and fails because it does not exist (because the workspace directory has yet to be initialized).
To Reproduce
Steps to reproduce the behavior:
dendron workspace init --wsRoot ./
Expected behavior
I would expect that as when running "
Dendron: Initialize Workspace
" from within the plugin, the CLI would give me the option to make either a code workspace or a native workspace, and then populate the directory specified by the argument following--wsRoot
with all the necessary files.Screenshots
Terminal output from doing the above:
Desktop (please complete the following information)