Skip to content
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.

art serve subcommand in README.md no longer available #182

Closed
sanmai-NL opened this issue Oct 5, 2017 · 9 comments
Closed

art serve subcommand in README.md no longer available #182

sanmai-NL opened this issue Oct 5, 2017 · 9 comments
Labels

Comments

@sanmai-NL
Copy link

art serve is mentioned several times in README.md, e.g. here.

art serve
Encountered Error:

error: Found argument 'serve' which wasn't expected, or isn't valid in this context

USAGE:
    art [FLAGS] [OPTIONS] <SUBCOMMAND>

For more information try --help
art -h
artifact 1.0.0
https://github.com/vitiral/artifact
The requirements tracking tool made for developers. Call `art tutorial` for a tutorial

USAGE:
    art [FLAGS] [OPTIONS] <SUBCOMMAND>

FLAGS:
    -v               Verbose, pass up to 3 times to increase the level
    -q, --quiet      If set no output will be printed
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
        --work-tree <PATH>    Use a different working tree instead of cwd

SUBCOMMANDS:
    tutorial    Start the interactive tutorial
    init        Initialize an artifact repository in the current directory
    ls          List artifacts according to various parameters
    check       Check for any errors in the project
    fmt         Format your design documents
    export      Export artifacts as static files
    update      Update to a different version (default newest)
    help        Prints this message or the help of the given subcommand(s)
@vitiral
Copy link
Owner

vitiral commented Oct 5, 2017

that's... not good. serve should definitely be there.

@vitiral vitiral added the bug label Oct 5, 2017
@crackcomm
Copy link

Could you please push completed branch to crates.io?

@vitiral
Copy link
Owner

vitiral commented Nov 4, 2017

Is that the problem, that this was installed via crates.io?

I have never tested the crates.io art serve. We didn't support art serve for a long time when installed from crates.io. I think it should be supported in the next release though, stay tuned...

@crackcomm
Copy link

Installed from crates.io nor master branch doesn't contain this feature, completed branch does.

@vitiral
Copy link
Owner

vitiral commented Nov 4, 2017

@crackcomm are you sure the master branch doesn't? On my machine it does:

$ cargo build
   Compiling artifact-app v1.0.0 (file:///home/garrett/src/artifact)
    Finished dev [unoptimized + debuginfo] target(s) in 29.83 secs

$ artifact git:(master) target/debug/art -h
artifact 1.0.0
https://github.com/vitiral/artifact
The requirements tracking tool made for developers. Call `art tutorial` for a tutorial

USAGE:
    art [FLAGS] [OPTIONS] <SUBCOMMAND>

... etc

SUBCOMMANDS:
... etc
    serve       Serve the web-ui and json-rpc backend

Running it works as well:

$ target/debug/art serve                                                                                                                                                             
Hosting web ui at 127.0.0.1:5373                                                                                                                                                                                  
exit with ctrlc+C or SIGINT                                                                                                                                                                                       
Listening on http://127.0.0.1:5373                                                                                                                                                                                
Ctrl-C to shutdown server

@crackcomm
Copy link

I built on master and it didn't then I checked out completed and it did but I am not sure. I am sure crates.io version did not.

@vitiral
Copy link
Owner

vitiral commented Nov 4, 2017

I forgot to mention: I confirmed that the crates.io version does not.

@vitiral
Copy link
Owner

vitiral commented Nov 4, 2017

I'm working on publishing 1.0.1 now, which will have serve on the crates.io (as well as update the license).

@crackcomm
Copy link

Thank you very much 👍

@vitiral vitiral closed this as completed in c5c780c Nov 4, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants