Qob
GitHub Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage
Edit page

🚩 Commands and options

The general syntax of the qob program is:

$ qob [GLOBAL-OPTIONS] [COMMAND] [COMMAND-OPTIONS] [COMMAND-ARGUMENTS]

🚩 Creating

πŸ” qob create cl-project

Create a new Common Lisp project

$ qob [GLOBAL-OPTIONS] create cl-project <name>
πŸ’‘ See https://github.com/fukamachi/cl-project for more information.

🚩 Core

Often use commands that are uncategorized.

πŸ” qob init

Initialize the current directory to start using Qob.

$ qob [GLOBAL-OPTIONS] init

Qob will generate the file like this:

;; -*- mode: lisp; lexical-binding: t -*-

(source "quicklisp")

πŸ” qob info

Show information about the project or configuration.

$ qob [GLOBAL-OPTIONS] info

πŸ” qob status

Display the state of the workspace.

$ qob [GLOBAL-OPTIONS] status

πŸ” qob install-deps

To install all dependencies.

$ qob [GLOBAL-OPTIONS] install-deps

πŸ” qob install

To install systems.

$ qob [GLOBAL-OPTIONS] install [SYSTEMS..]

Install systems by specifying arguments:

$ qob install clingon clack

Or else, it will install the system from the current development:

$ qob install

πŸ” qob uninstall

To uninstall/delete systems.

$ qob [GLOBAL-OPTIONS] uninstall [SYSTEMS..]

Uninstall systems by specifying arguments:

$ qob uninstall cl-autorepo cl-project

Or else, it will uninstall the system from the current development:

$ qob uninstall

πŸ” qob package

Build the system artifact.

$ qob package [DESTINATION]

If [DESTINATION] is not specified, it will generate to the /dist folder by default.

πŸ” qob files

Print all system files.

$ qob files [DESTINATION]

🚩 Execution

Commands allow you to execute on top of the Qob core.

Basically, this allows you to do anything you want!

πŸ” qob load

Load Common Lisp files in order.

$ qob [GLOBAL-OPTIONS] load [FILES..]

πŸ” qob exec

Execute the system command with the given arguments.

$ qob [GLOBAL-OPTIONS] exec [COMMAND] [ARGUMENTS ...]

πŸ” qob eval

Evaluate FORM as a lisp form.

$ qob [GLOBAL-OPTIONS] eval [FORM]

🚩 Management

Commands that help you manage your package’s dependencies.

πŸ” qob dists

List out all installed dists.

$ qob [GLOBAL-OPTIONS] dists

Search systems from archives.

$ qob [GLOBAL-OPTIONS] search [QUEIRES..]

πŸ” qob list

List systems.

$ qob [GLOBAL-OPTIONS] list [--depth]

🚩 Linking

Link between this system and a dependency on the local filesystem. A linked dependency avoids the need to download a dependency from a remote archive. The system linked to must either have a Qob-file or a ASD-file.

Links the given source directory into the system directory of this project, under the given system name.

$ qob [GLOBAL-OPTIONS] link add <NAME> <PATH>

Deletes the link for the given systems.

$ qob [GLOBAL-OPTIONS] link delete [NAMES..]

List all links.

$ qob [GLOBAL-OPTIONS] link list

🚩 Cleaning

Delete various files produced during building.

πŸ” qob clean workspace

Delete .qob from the current workspace.

Alias: .qob

$ qob [GLOBAL-OPTIONS] clean workspace

πŸ” qob clean dist

Delete dist subdirectory.

$ qob [GLOBAL-OPTIONS] clean dist

πŸ” qob clean all

This command is the combination of all other clean commands.

  • clean workspace
  • clean dist
$ qob [GLOBAL-OPTIONS] clean all

🚩 Utilities

Other helper commands.

πŸ” qob locate

Show Qob installed location.

$ qob [GLOBAL-OPTIONS] locate

🚩 Global Options

The following options are available on all Qob commands:

πŸ” –global, -g

This will use ~/.qob/ instead of the package development environment.

This is used for other tasks. e.g., cat, etc.

$ qob -g [COMMAND]

πŸ” –all, -a

Enable the all flag.

$ qob -a [COMMAND]

πŸ” –force, -f

Force command’s execution.

Force to uninstall the package dash even it’s a dependency from another packages.

$ qob -f [COMMAND]

πŸ” –allow-error

Continue the execution without killing the program.

πŸ” –timestamps

Enable/Disable timestamps.

πŸ” –log-level

Enable/Disable log header.

πŸ” –log-file, –lf

Weather to generate log files.

πŸ” –no-color

Disable color output.

πŸ” –elapsed-time, –et

Show elapsed time between each operation.

πŸ” –verbose, -v <integer>

Set verbosity from 0 to 5.

$ qob --verbose 4 [COMMAND]

πŸ” –version

Show version number.

πŸ” –help

Show help.