CIL(1)
okay bestie, pull up a chair, this is cil(1) β from the User Contributed Perl Documentation, and it's literally the cutest little issue tracker you'll ever meet π
β¨ NAME β¨
cil β the command-line issue list. yes, that's the whole name. lowercase. iconic. no cap.
π¦ SYNOPSIS π¦
$ cil init
$ cil summary
$ cil list
$ cil list --status=New
$ cil list --label=Release-v0.1
$ cil list --is-open
$ cil add
... added issue 'cafebabe' ...
$ cil show cafebabe
$ cil edit cafebabe
$ cil status cafebabe InProgress
$ cil comment cafebabe
... added comment 'deadbeef' ...
$ cil attach cafebabe filename.txt
... added attachment 'decaf7ea' ...
$ cil extract decaf7ea
$ cil extract decaf7ea --filename=other_filename.txt
$ cil am email.txt
$ cil track
$ cil fsck
look at that. a whole vibe. π
π DESCRIPTION π
Cil is a small but useful command-line issue list. it saves issues, comments and attachments as local files which you can check in to your repository. yes, actual files. in your repo. so your issues travel with your code like the little besties they are π«Ά
πΈ init [--path=PATH] [--bare] πΈ
Creates a local .cil file and an issues directory. if PATH is specified, the config file and directory will be created in the destination directory.
usually, cil will write a small .cil file such that you can use various filter commands immediately and can also serve as an example config file. using --bare just touches the .cil config file ready for your own manipulation. so like, --bare = "don't do the cute example for me, i got this" π
πΈ summary [filters] πΈ
Displays a one line summary for each issue. you may filter on both the Status and Label fields.
πΈ list [filters] πΈ
Shows each issue with more information. you may filter on both the Status and Label fields.
πΈ add [--mine] [summary] πΈ
Adds an issues after you have edited the input. Text passed after add will be used as the bug summary line.
if you use the --mine flag, the AssignedTo field is automatically set to you (saves having to copy and paste the CreatedBy field). lowkey the most clutch flag fr fr, no more manual copy-paste nonsense π
πΈ show ISSUE πΈ
Shows the issue name with more detail.
πΈ status ISSUE NEW_STATUS πΈ
Shortcut so that you can set a new status on an issue without having to edit it.
πΈ depends-on ISSUE1 ISSUE2 πΈ
Shortcut so that cil will add a DependsOn from issue 1 to issue 2. Conversley, issue 2 will also then contain a Precedes pointer to issue 1.
πΈ precedes ISSUE1 ISSUE2 πΈ
This is the exact opposite of depends-on and is here for convenience and completeness. ie. issue 1 has to be completed before issue 2.
πΈ status ISSUE NEW_STATUS πΈ
Shortcut so that you can set a new status on an issue without having to edit it.
bestie yes this one shows up twice in the original. i am not the one who's going to edit the manpage. i'm just the messenger π
πΈ steal ISSUE πΈ
Shortcut to assign this issue to yourself. it reads your ~/.cilrc file for your UserName and UserEmail and uses this to populate the AssignedTo field in the issue. main character energy: this issue? mine now π
πΈ edit ISSUE πΈ
Edits the issue. if it changes, set the updates time to now.
πΈ comment ISSUE πΈ
Adds a comment to an issues after you have edited the input.
πΈ attach ISSUE FILENAME πΈ
Adds that particular filename to an existing issue.
πΈ extract ATTACHMENT [--filename=FILENAME] πΈ
Extracts the file from the attachment number. if filename if given uses that, otherwise it will use the original one saved along with the attachment.
πΈ am πΈ
Applies an email message to the issue list. it tries to figure out the type of email it is, whether it is a new issue or a comment on an already existing issue. for example, if it can find valid issue names in the subject or body of the message, it adds it as a comment to that issue. if it can't find any valid issue names, it presumes it's a new issue and adds that.
Note: this command will deal with Mailbox format files later on.
πΈ track ISSUE πΈ
This command outputs one or more command which you should run so that your VCS knows about your issue. it makes sure all the comments and attachments are done too.
πΈ fsck πΈ
Tries to help you organise your issues if any aren't valid or have broken relationships. the friend who shows up with a broom and a snack when your life is a mess π§
π FILTERS π
Filters can be used on both the summary and list commands. most can be combined. see each individual filter for details.
--status=STATUSβ you can choose any of the Statuses which might appear in your issues. this status does not have to be defined in your.cilfile, even if you haveStatusStrictturned on.--label=LABELβ you can choose any of the Labels which might appear in your issues. this label does not have to be defined in your.cilfile, even if you haveLabelStrictturned on.--is-open,--is-closedβ these check bothStatusOpenListandStatusClosedListfrom your.cilfile. if both are specified, you're likely to get no issues unless you explicitly defined a status as being in both lists (for whatever reason you have).--assigned-to=EMAIL_ADDRESS,--is-mineβ these items are mutually exclusive. the--assigned-tojust checks the email address in the AssignedTo field. it does not match anything else in that field, including any preceding name or any angle brackets.
the --is-mine filter is a shortcut to asking if AssignedTo is you. Cil knows your email address if you define it in your user's ~/.cilrc file as UserEmail.
π .cil π
The .cil file is used to configure bits and pieces within cil for this particular issue list. the following options are available and where stated, may be declared multiple times:
the .cil file is fairly simple and an example can be seen here:
UseGit: 1
StatusStrict: 1
StatusOpenList: New
StatusOpenList: InProgress
StatusClosedList: Finished
LabelStrict: 1
LabelAllowedList: Type-Enhancement
LabelAllowedList: Type-Defect
LabelAllowedList: Priority-High
LabelAllowedList: Priority-Medium
LabelAllowedList: Priority-Low
β UseGit β
Default: 0, Type: Boolean (0/1)
Determines whether to use Git or not. some features require Git though Cil is perfectly usable without.
β StatusStrict β
Default: 0, Type: Boolean (0/1)
If this is set to a true value then cil checks that the status you enter into an issue (after adding or editing) is also in the allowed list (see StatusAllowedList).
β StatusOpenList β
Default: empty, Type: List
This list is checked against when filtering with --is-open.
β StatusClosedList β
Default: empty, Type: List
This list is checked against when filtering with --is-closed.
β StatusAllowedList β
This list is automatically generated from the StatusOpenList and the StatusClosedList. it does not have to appear in the config file. it does itself, automatically. slay β¨
β LabelStrict β
Default: 0, Type: Boolean (0/1)
This determines that labels you enter are checked against LabelAllowedList. set to 1 if you require this feature.
β LabelAllowedList β
Default: empty, Type: List
This determines which labels are allowed if you have turned on LabelStrict.
π ~/.cilrc π
The ~/.cilrc file is read to configure the user's preferences for all cil lists they're using. it is of the same format as the .cil file and contains the following options:
UserName: Andrew Chilton
UserEmail: andychilton@gmail.com
π UserName π
Default: 'Name', Type: String
This is used as a default in the CreatedBy and AssignedTo fields in any issues/comments/attachments you add.
π UserEmail π
Default: 'Email', Type: String
This is used as a default in the CreatedBy and AssignedTo fields in any issues/comments/attachments you add.
π BUGS π
Probably. Let me know :-)
π₯ TODO π₯
To get a ToDo list for cil, clone the repo, find the issues/ dir and type:
$ cil --is-open
This gives the current outstanding issues in cil.
π AUTHOR π
Andrew Chilton <andychilton@gmail.com>
π¦ COPYRIGHT π¦
Copyright (C) 2008 by Andrew Chilton
Cil is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. if not, see <http://www.gnu.org/licenses/> or write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
and that's the whole page bestie π this one came to you from perl v5.28.0, dated 2018-09-09, and it's CIL(1) β go forth and track your issues in a repo like a legend π«Άβ¨
π¦ where this page comes from
- ubuntu jammy: cil 0.07.00-12 Β· GPL-3.0-or-later
- ubuntu noble: cil 0.07.00-12 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms