Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

print script content in CLI #342

Merged
merged 1 commit into from
Sep 10, 2017

Conversation

babsey
Copy link
Contributor

@babsey babsey commented Apr 14, 2016

With this PR user can review the script content loaded from git.
To print the script content user has to select a record by label

sample command:
smt script <label>

It displays the name of the script, the git version and the content

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 72.622% when pulling f836377 on babsey:CLI_script_content into 9341bf6 on open-research:master.

@apdavison
Copy link
Contributor

I like this feature, and have merged the PR, but I would like to generalize it to all record fields by having an smt view command - see #364
i.e. smt view --script --version <label> or smt view -sv <label> would be equivalent to smt script <label>

@apdavison apdavison added this to the 0.8 milestone Sep 10, 2017
apdavison added a commit to apdavison/sumatra that referenced this pull request Sep 10, 2017
apdavison added a commit that referenced this pull request Sep 10, 2017
apdavison added a commit to apdavison/sumatra that referenced this pull request Sep 10, 2017
@babsey babsey deleted the CLI_script_content branch September 10, 2017 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants