Liking cljdoc? Tell your friends :D

kit.api

Public API for kit-generator.

Public API for kit-generator.
raw docstring

default-ednclj


find-snippet-idsclj

(find-snippet-ids query)

find-snippetsclj

(find-snippets query)

install-moduleclj

(install-module module-key)
(install-module module-key opts)
(install-module module-key kit-edn-path {:keys [accept-hooks? dry?] :as opts})

Installs a kit module into the current project or the project specified by a path to kit.edn file.

NOTE: When adding new module-specific options, update flat-module-options. See the function for more details.

Installs a kit module into the current project or the project specified by a
path to kit.edn file.

> NOTE: When adding new module-specific options, update flat-module-options.
  See the function for more details.
raw docstring

installation-planclj

(installation-plan module-key kit-edn-path opts)

Loads and resolves modules in preparation for installation, as well as determining which modules are already installed vs which need to be installed.

Loads and resolves modules in preparation for installation, as
well as determining which modules are already installed vs which
need to be installed.
raw docstring

list-installed-modulesclj

(list-installed-modules)

Lists installed modules and modules that failed to install, for the current project.

Lists installed modules and modules that failed to install, for the current
project.
raw docstring

list-modulesclj

(list-modules)

List modules available for the current project.

List modules available for the current project.
raw docstring

list-snippetsclj

(list-snippets)

(print-installation-plan module-key)
(print-installation-plan module-key opts)
(print-installation-plan module-key kit-edn-path opts)

Prints a detailed installation plan for a module and its dependencies.

Prints a detailed installation plan for a module and its dependencies.
raw docstring

(print-removal-report module-key)
(print-removal-report module-key opts)
(print-removal-report module-key kit-edn-path opts)

Prints a human-readable removal report for an installed module.

Prints a human-readable removal report for an installed module.
raw docstring

read-ctxclj

(read-ctx)
(read-ctx path)

removal-reportclj

(removal-report module-key)
(removal-report module-key opts)
(removal-report module-key kit-edn-path opts)

Generates a removal report for an installed module. Returns a map with:

  • :module-key
  • :has-manifest? (whether detailed installation manifest is available)
  • :safe-to-remove (files that can be auto-deleted, SHA matches)
  • :modified-files (files modified since installation)
  • :missing-files (files deleted since installation)
  • :manual-steps (human-readable injection removal instructions)
  • :dependents (installed modules that depend on this one) Returns nil if the module is not installed.
Generates a removal report for an installed module. Returns a map with:
- :module-key
- :has-manifest? (whether detailed installation manifest is available)
- :safe-to-remove (files that can be auto-deleted, SHA matches)
- :modified-files (files modified since installation)
- :missing-files (files deleted since installation)
- :manual-steps (human-readable injection removal instructions)
- :dependents (installed modules that depend on this one)
Returns nil if the module is not installed.
raw docstring

remove-moduleclj

(remove-module module-key)
(remove-module module-key opts)
(remove-module module-key kit-edn-path {:keys [force? dry?] :as opts})

Removes a module from the project. Auto-deletes files that are unchanged since installation. Prints instructions for manual cleanup of injections.

Options: :force? - remove even if other modules depend on it :dry? - only print the removal report, don't delete anything

Removes a module from the project. Auto-deletes files that are unchanged
since installation. Prints instructions for manual cleanup of injections.

Options:
  :force? - remove even if other modules depend on it
  :dry?   - only print the removal report, don't delete anything
raw docstring

snippetclj

(snippet id & args)

snippets-dbclj


sync-modulesclj

(sync-modules)

Downloads modules for the current project.

Downloads modules for the current project.
raw docstring

sync-snippetsclj

(sync-snippets)

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close