diff options
author | merakor <cem@ckyln.com> | 2021-07-19 12:22:08 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2021-07-19 12:22:08 +0000 |
commit | 4bad691465af048b36e9ba47688435ae3b9fe708 (patch) | |
tree | 479a8ce9b2675ebc889d628a0ba85e4dd0d8d490 | |
parent | a8e8638bd7bd009b258691accae462d2ab311462 (diff) | |
download | cpt-4bad691465af048b36e9ba47688435ae3b9fe708.tar.gz |
docs: update
FossilOrigin-Name: 6bd01ef3991f7e5d9d2aa908452b457edcab8b3a0967864cbb5b26126104e6e2
-rw-r--r-- | docs/cpt.org | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/docs/cpt.org b/docs/cpt.org index aa7c2cc..1e551fe 100644 --- a/docs/cpt.org +++ b/docs/cpt.org @@ -1215,14 +1215,17 @@ rsync curl zlib ca-certificates bearssl This function is used to query the [[meta][meta file]] inside package directories. It can be used to retrieve information on a package that is otherwise irrelevant to the -package manager itself. It takes two arguments, first being the package and the -second being the key to be retrieved. If the package does not have a =meta= -file or the file does not contain the requested key, the function will return -with 1. +package manager itself. It takes two arguments, first being the package (or the +full path to a package directory) and the second being the key to be retrieved. +If the package does not have a =meta= file or the file does not contain the +requested key, the function will return with 1. #+begin_src sh $ pkg_query_meta cpt description Carbs Packaging Tools + +$ pkg_query_meta /path/to/cpt license +MIT #+end_src * {{{index(Concept, cp)}}} |