aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-06-13 17:32:46 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-06-13 17:32:46 +0000
commit4ba8f3ea1e8adbf042efb6c9d7efd81464496c9e (patch)
tree0f117e511c8dd595b8ac72c74a454114d9e5c9a6
parentab25821c7e86c7ee7c00df5e20d28ae553882e2f (diff)
downloadcpt-4ba8f3ea1e8adbf042efb6c9d7efd81464496c9e.tar.gz
docs: update
FossilOrigin-Name: 0bb8051eb38fcf5cd5ee4943fa217ca2a0cfe532dba456e23188858c0590a081
-rw-r--r--README.md49
1 files changed, 48 insertions, 1 deletions
diff --git a/README.md b/README.md
index 5aad2a7..b3ff461 100644
--- a/README.md
+++ b/README.md
@@ -5,12 +5,59 @@ Tiny package manager for KISS Linux.
**NOTE:** I am in the process of writing usage documentation.
+## Table of Contents
+
+<!-- vim-markdown-toc GFM -->
+
+* [Package format](#package-format)
+* [Getting started](#getting-started)
+* [Usage](#usage)
+* [How does each operator work?](#how-does-each-operator-work)
+ * [`kiss build pkg`](#kiss-build-pkg)
+ * [`kiss checksum pkg`](#kiss-checksum-pkg)
+ * [`kiss install pkg`](#kiss-install-pkg)
+ * [`kiss remove pkg`](#kiss-remove-pkg)
+ * [`kiss list` or `kiss list pkg`](#kiss-list-or-kiss-list-pkg)
+ * [`kiss update`](#kiss-update)
+
+<!-- vim-markdown-toc -->
+
+
## Package format
See: <https://github.com/kissx/packages>
-## Getting started with `kiss`
+## Getting started
+
+Add these to your `shellrc`.
+
+```sh
+# The location to install packages (Optional).
+# Default: /
+export KISS_ROOT=~/.kiss
+
+# Repositories to use (Required).
+# Colon separated like '$PATH'.
+# Repositories will be search in order.
+# Default:
+export KISS_PATH=~/projects/kiss-new/repo
+```
+
+## Usage
+
+```sh
+➜ kiss
+=> kiss [b|c|i|l|r|u] [pkg]
+=> build: Build a package.
+=> checksum: Generate checksums.
+=> install: Install a package (Runs build if needed).
+=> list: List packages.
+=> remove: Remove a package.
+=> update: Check for updates.
+```
+
+## How does each operator work?
Kiss has 6 different "operators".