dbwebb/dbwebb-cli

dbwebb cli tool for dbwebb courses and training material.

Installs: 18

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 1

Open Issues: 5

Language:Shell

Type:utility

v3.0.0 2024-02-03 00:54 UTC

This package is auto-updated.

Last update: 2024-12-03 02:54:51 UTC


README

Documentation Status

Packagist npm version Travis CircleCI

A CLI client dbw to work with dbwebb courses, built in bash.

This is development of version 3 for dbwebb-cli, a complete rewrite of the codebas.

Version 1 and 2 is available in mosbth/dbwebb-cli. The documentation for those older releases are available at dbwebb.se/dbwebb-cli (swedish only).

Here follows the documentation for version 3 and the dbw utility.

Install

Download and install to /usr/local/bin or /usr/bin. Use sudo if needed. The executable will be installed as dbw.

Using curl for download.

bash -c "$(curl -s https://raw.githubusercontent.com/dbwebb-se/dbwebb-cli/master/release/latest/install)"

Using wget for download.

bash -c "$(wget -qO- https://raw.githubusercontent.com/dbwebb-se/dbwebb-cli/master/release/latest/install)"

Check where its installed and its version, just to make sure it works.

which dbw
dbw --version

dbw help

To print out the general help on the application.

dbw help

You can view details on how to get help for a certain command.

dbw help help

dbw check

This is to check your environment to troubleshoot if needed.

dbw check

Get help on the command.

dbw help check

dbw config

You can optionally create (and update) a configuration file for the utility.

dbw config

Get help on the command.

dbw help config

dbw repo

Each course repo can include its own utilities (commands) to execute. Use dbw repo to get details on the current repo and what utilities it has implemented.

dbw repo

Get help on the command.

dbw help repo

dbw selfupdate

Update the utility to its latest version, use sudo if needed.

sudo dbw selfupdate

License

This software carries a MIT license.

 .  
..:  Copyright (c) 2013 - 2024 Mikael Roos, mos@dbwebb.se