Skip to content

qruise kb

Manage the knowledge base.

Syntax

qruise kb [OPTIONS] COMMAND [ARGS]...

Description

The qruise kb command is the base command for managing the knowledge base. The subcommands are designed to mimic the syntax of the git command in order to flatten the learning curve.

Options

Option Description
--help Show a help message and exit.

Configuration files

Subcommands of the qruise kb command require the user to specify the profile to be used for connecting with QruiseOS tenant. This can be achieved either by specifying the default profile in the global configuration.yaml file or the .QKB.json file in the flow directory. If you want to use the latter option, make sure the flow directory contains the .QKB.json file and that it contains the following:

{
  "profile": "PROFILE_NAME"
}

Subcommands

Name Description
branch List, create, or delete branches.
checkout Switch branches or restore working tree files.
commit Commit schema changes to a branch.
log Show KB commit log.
optimize Optimise the current branch.
rebase Reapply commits from tip of another branch to the current one.
reset Reset current HEAD to the specified state.
squash Squash multiple commits into one.
status Show the current working tree status or the status of a specific profile.