LogoLogo
  • Overview
  • Setup and Configuration
  • Other Data Versioning Systems
  • Examples
    • Tutorial
      • Creating Bundles with the Python API
      • Push/Pull using S3
      • Simple Pipeline
      • Run the Pipeline
      • Dockerize a Pipeline
      • Run the Pipeline Container (locally)
      • Run the Pipeline Container (AWS)
    • Examples
      • MNIST and TensorFlow
      • Spacy Task
  • Basic Concepts
    • Bundles
      • Naming
      • Bundle Data Types
      • Tags and Parameters
      • Lineage (or Bundle Metadata)
    • Data Contexts
  • Reference
    • CLI Reference
      • dsdt add
      • dsdt apply
      • dsdt cat
      • dsdt context
      • dsdt commit
      • dsdt dockerize
      • dsdt init
      • dsdt lineage
      • dsdt ls
      • dsdt pull
      • dsdt push
      • dsdt remote
      • dsdt rm
      • dsdt rmr
      • dsdt switch
    • Python API
  • Details
  • Building Pipelines
  • Running Pipelines on AWS
  • Admin
    • Contact / Slack
Powered by GitBook
On this page
  • Description
  • Usage
  • Options
  • Examples

Was this helpful?

  1. Reference
  2. CLI Reference

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.
Previousdsdt catNextdsdt commit

Last updated 5 years ago

Was this helpful?