dsdt context

Do things with local and remote data contexts

Description

Typically used to list out your current contexts, the remotes they are attached to, and the current context. Also may be used to remove entire contexts.

Deleting a context is immediate! There is no "Are you sure?" nanny. If you've you've pushed to a remote recently, you can recover via dsdt pull. Otherwise, you cannot.

Usage

usage: dsdt context [-h] [-f] [-d] [-r] [context]

Options

positional arguments:
  context       Create a new data context using <remote context>/<local
                context> or <local context>

optional arguments:
  -h, --help    show this help message and exit
  -f, --force   Force remove of a dirty local context
  -d, --delete  Delete local context

Examples

Create a new context

$ dsdt context sharkbark
Disdat created data context None/sharkbark at object dir /Users/kyocum/.disdat/context/markbark/objects.

Delete a context

$ dsdt context -D sharkbark
Disdat deleted local data context sharkbark.

Last updated