Skip to content

Conversation

@vogel
Copy link
Contributor

@vogel vogel commented Jul 24, 2018

Description

Resolves #1418

This PR implement new command-line syntax with Clara library. New command is more similar to git:

stellar-core new-db --conf testnet.cfg
stellar-core new-hist h1 h2 h3
stellar-core gen-seed --conf testnet.cfg
stellar-core run --conf testnet.cfg

Checklist

  • Reviewed the contributing document
  • Rebased on top of master (no merge commits)
  • Ran clang-format
  • Compiles
  • Ran all tests
  • If change impacts performance, include supporting evidence per the performance document

Copy link
Contributor

@MonsieurNicolas MonsieurNicolas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good change overall, just looking for better namespacing and clearer help strings

@MonsieurNicolas
Copy link
Contributor

Also note that required() is not implemented yet in Clara (catchorg/Clara#28 ) ; but you already compensate for this from what I saw.

@MonsieurNicolas
Copy link
Contributor

@vogel : let me know when you want me to take a look again at this PR. Also, feel free to rebase/squash commits as I will probably just take a full pass anyways

@vogel vogel mentioned this pull request Nov 8, 2018
6 tasks
Signed-off-by: Rafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>
Signed-off-by: Rafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>
Signed-off-by: Rafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>
Signed-off-by: Rafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>
Signed-off-by: Rafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>
Signed-off-by: Rafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>
Signed-off-by: Rafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>
Signed-off-by: Rafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>
@vogel
Copy link
Contributor Author

vogel commented Nov 28, 2018

This branch is now rebased.

@MonsieurNicolas
Copy link
Contributor

had a question in the issue #1418 (comment)

@vogel
Copy link
Contributor Author

vogel commented Nov 29, 2018

Questions answered and updated commands.md

@MonsieurNicolas
Copy link
Contributor

r+ 6a31e84234e2a43ecc61a5349a49b66c1c5f2229

Signed-off-by: Rafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>
Signed-off-by: Rafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>
Signed-off-by: Rafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>
@vogel
Copy link
Contributor Author

vogel commented Nov 29, 2018

Formatted

@MonsieurNicolas
Copy link
Contributor

r+ 8727d27

latobarita added a commit that referenced this pull request Nov 30, 2018
Command line

Reviewed-by: MonsieurNicolas
@latobarita latobarita merged commit 8727d27 into stellar:master Nov 30, 2018
@vogel vogel deleted the command-line branch November 30, 2018 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants