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

Show collection id in prompt #15

Merged
merged 7 commits into from
Apr 14, 2021
Merged

Conversation

jisantuc
Copy link
Owner

@jisantuc jisantuc commented Apr 14, 2021

Overview

This PR:

  • shows the collection id in the prompt when in the collection context
  • removes the collection id from the prompt when un-setting the collection
  • adds a few convenience methods for specific prompt situations

Checklist

  • Description of PR is in an appropriate section of the changelog (please use chan)

Demo

stac > set root url https://franklin.nasa-hsi.azavea.com
stac https://franklin.nasa-hsi.azavea.com > set collection aviris-ng
Set context to collection aviris-ng
stac https://franklin.nasa-hsi.azavea.com aviris-ng > unset collection
Returning to root context
stac https://franklin.nasa-hsi.azavea.com > 

Testing Instructions

  • run the demo

@jisantuc jisantuc merged commit d1a3b5d into main Apr 14, 2021
@jisantuc jisantuc deleted the feature/js/show-collection-in-prompt branch April 14, 2021 00:16
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.

1 participant