Skip to content
This repository has been archived by the owner on May 19, 2022. It is now read-only.

Add help/usage message #6

Closed
drmaas opened this issue Jan 4, 2017 · 2 comments
Closed

Add help/usage message #6

drmaas opened this issue Jan 4, 2017 · 2 comments

Comments

@drmaas
Copy link

drmaas commented Jan 4, 2017

savant -h, savant search -h, and savant init -h would be useful.

@spilth
Copy link
Owner

spilth commented Jun 5, 2017

Hey @drmaas. For some reason I wasn't "watching" my own repo! I was just about to add this issue myself so thank you for already doing that :-)

@spilth
Copy link
Owner

spilth commented Jun 6, 2017

This is now available in the latest version. General help:

$ savant -h
Usage: savant [options] [command] [command options]
  Options:
    --help, -h

  Commands:
    init      Initializes a new Java 8 Maven project
      Usage: init [options]
        Options:
          --artifactId, --artifact, -a
            Artifact ID
            Default: exampleArtifact
          --groupId, --group, -g
            Group ID
            Default: com.example
          --help, -h

          --minimal, -m
            Use Minimal Java 8 Archetype
            Default: false

    search      Searches Maven Central for dependencies
      Usage: search [options] Search term
        Options:
          --format, -f
            Dependency output format
            Default: maven
          --help, -h


    dash      Adds Maven project dependencies to Dash
      Usage: dash [options]
        Options:
          --pom, -p, --file, -f
            Source POM File
            Default: pom.xml
          --help, -h

And for each command:

$ savant init -h
Initializes a new Java 8 Maven project
Usage: init [options]
  Options:
    --artifactId, --artifact, -a
      Artifact ID
      Default: exampleArtifact
    --groupId, --group, -g
      Group ID
      Default: com.example
    --help, -h

    --minimal, -m
      Use Minimal Java 8 Archetype
      Default: false

@spilth spilth closed this as completed Jun 6, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants