Overview
Kit is the reference client of the MakeOS network being developed by the Make One team. It is being developed with the Go programming language.
Kit aims to provide a client that allows you to easily interact with the network, manage keys and create third-party applications via an RPC API and an extension system.
It provides a single command-line application named kit that returns non-zero errors when a command produces an error. You can use -h or --help to get descriptive help text for every command.
To see a list of commands, run kit :
1
Kit is the official client for the MakeOS network
2
3
Usage:
4
kit [flags]
5
kit [command]
6
7
Available Commands:
8
attach Start a JavaScript console attached to a node
9
console Start a JavaScript console and connect the node to the network
10
contributor Manage repository contributors
11
help Help about any command
12
init Initialize the application.
13
issue Create, read, list and respond to issues
14
key Create and manage your account and push keys.
15
mr Create, read, list and respond to merge requests
16
pk Register and manage network push keys
17
repo Create, find and manage repositories
18
sign Sign a commit, tag or note and generate a push request token
19
start Launch the node to join the network.
20
tx Create and read transaction data or status
21
user Access and manage a user's personal resources
22
23
Flags:
24
-v, --version Print version information
25
--dev Enables development mode
26
--gitbin string Set path to git executable (default "/usr/bin/git")
27
--home string Set the path to the home directory (default "/Users/example/.kit")
28
--home.prefix string Adds a prefix to the home directory in dev mode
29
--net uint Set network/chain ID (default 1)
30
--no-colors Disables output colors
31
--no-log Disables loggers
32
-h, --help help for kit
33
34
Use "kit [command] --help" for more information about a command.
Copied!

Global Options

Kit includes persistent flags that are settable from any command. These flags allow you to set things like the home directory, git executable path and so on.

Usage

kit [options]

Options

  • -v, --version - Returns the version information of the client.
  • --dev - Turns on development mode.
  • --gitbin - Provide the path to git executable for performing git operations on repositories.
  • --home - Set the data directory of the Kit client. By default, the home data directory will be created in the machine’s home directory with the name .kit. In dev mode, it will be named .kit_dev. If --home.prefix is set, it will be .kit_prefix.
  • --net - Set the unique network ID. This will determine what network the client can interact with.
  • --no-colors - Prevent the use of colors in the command output.
  • --no-log - Disable Kit and Tendermint loggers.
  • -h, --help - Print out a help message.

Environment Variables

Kit allows flags of all commands to be configured via the command line. For instance, to set the--home from the environment, use the variable KIT_HOME where KIT_ is the namespace and HOME is the target flag.