GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - DesignBuilderSoftware/db-cli: Command line interface for DesignBuilder file operations.

BranchesTags
Open more actions menu

Latest commit

 

History

9 Commits
9 Commits

Folders and files

NameName
Last commit message
Last commit date
db_cli
db_cli
 
 
samples
samples
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
pyproject.toml
pyproject.toml
 
 

Repository files navigation

db-cli

Command line interface for DesignBuilder file operations. Convert between .dsb, .xml, and .json formats, validate files against the DesignBuilder schema, and inspect schema versions.

Installation

pip install git+https://github.com/DesignBuilderSoftware/db-cli

Commands

Command Description
version <file> Show the dsbXML schema version of a file
validate <file> Validate a file against the DesignBuilder schema
xml2json <file> Convert a DesignBuilder XML file to JSON
json2xml <file> Convert a DesignBuilder JSON file to XML
dsb2xml <file> [--output <path>] [--exe <path>] Export a .dsb file to XML using DesignBuilder
close Close any running DesignBuilder process

Usage

# Inspect schema version
db-cli version Shoebox261.xml

# Validate against schema
db-cli validate Shoebox261.xml

# Convert between XML and JSON
db-cli xml2json Shoebox261.xml
db-cli json2xml Shoebox261.json

# Export .dsb to XML (requires DesignBuilder installed)
db-cli dsb2xml Shoebox261.dsb
db-cli dsb2xml Shoebox261.dsb --output exported.xml --exe "C:\Program Files\DesignBuilder\DesignBuilder.exe"

# Close DesignBuilder process
db-cli close

Requirements

  • Python 3
  • DesignBuilder installation (only required for dsb2xml and close commands)

Dependencies

  • fire — CLI generation
  • dsbxml (source) — dsbXML read / edit / write and validation
  • db-process — DesignBuilder process management

About

Command line interface for DesignBuilder file operations.

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.