Skip to content

Manage wasmd entirely with shelljs #14

Description

@mikedotexe

https://www.npmjs.com/package/shelljs is a tool that lets you basically say, "hey, run wasmd start" on the terminal please.

So let's see if we can basically get wasmd started. I don't think it needs to be done in the background or through spawning threads or anything. The person can just type:

csli cw start

and that would use shell.exec like:

if (shell.exec('git commit -am "Auto-commit"').code !== 0) {
  shell.echo('Error: Git commit failed');
  shell.exit(1);
}

So this ticket entails creating a cw command, and then a subcommand so it's csli cw start

As a note, when I used the oclif generator, I think it gave me a default subcommand, which I removed. Might be useful to install it like the instructions have here:
https://oclif.io/docs/introduction#quickstart

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions