Skip to content
This repository was archived by the owner on Apr 15, 2024. It is now read-only.

FAB-30 Added deploy snapshot command to export agent snapshot and generate manifest file#239

Merged
ljha-CS merged 3 commits intodevelopfrom
FAB-30
Oct 19, 2020
Merged

FAB-30 Added deploy snapshot command to export agent snapshot and generate manifest file#239
ljha-CS merged 3 commits intodevelopfrom
FAB-30

Conversation

@ljha-CS
Copy link
Copy Markdown
Collaborator

@ljha-CS ljha-CS commented Oct 9, 2020

Checklist:

Please check you fulfill ALL of the relevant checkboxes

  • Notified docs of any potential USER-facing changes
  • Added short description of the change - with relevant motivation and context.
  • Branch has the ticket number in its name (along with a ticket summary)
  • Commented the code, particularly in hard-to-understand areas
  • Added tests that prove my fix is effective or that my feature works
  • Ran npm test and it passes
  • Changes generate no new warnings

@ljha-CS ljha-CS requested a review from jgielstra-cs October 9, 2020 09:05
.option('--no-compat', 'Ignore API compatibility checks')
.option('--color [on/off]', 'Turn on/off colors for JSON output.', 'on')
.option('--profile [profile]', 'The profile to use')
.option('-y, --yaml', 'Use YAML for snapshot export format')
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Does fabric accept both yaml or JSON ?
Just make yaml the default if that is what fabric accepts.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Yes, fabric accepts Agent Snapshot in both YAML and JSON (determines format based on file extension). Should I make YAML default and add -j/--json flag for JSON? -y is aligned with other commands.

@ljha-CS ljha-CS merged commit 3f3112f into develop Oct 19, 2020
@jgielstra-cs jgielstra-cs deleted the FAB-30 branch October 20, 2020 20:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants