couchbaselabs / couchbase-shell

Shell yeah!
http://couchbase.sh
Apache License 2.0
68 stars 14 forks source link

Use _default scope when there is no active scope #472

Open Westwooo opened 3 weeks ago

Westwooo commented 3 weeks ago

When the active scope is not set the prompt shows the scope as _default. However the collection commands will return an error that there is no active scope. We should make the collections commands match the behaviour of the prompt and use "_default" as the scope when none has been set.