Skip to content

Create "status" command #12

@mikedotexe

Description

@mikedotexe

The command will be:

csli status

and take no args or flags at this time.

It will return whether it can connect to websockets and whether it can connect to the local wasmd.

It's possible people don't have wasmd. The way to check if a person has wasmd is to install this dependency:

https://www.npmjs.com/package/shelljs#user-content-examples

and actually that first example checks to see if git is installed, so we'll use that.

Shelljs is a cool thing can that basically run a command on your terminal, but in your js code.

So we can pretend like we're typing wasmd start using shelljs, and that's what we're going to do in another ticket. For now let's get that dep installed and have something sane be returned as outlined.

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