CIL(1) | User Contributed Perl Documentation | CIL(1) |
cil - the command-line issue list
$ 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
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.
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.
If you use the --mine flag, the AssignedTo field is automatically set to you (saves having to copy and paste the CreatedBy field).
Note: this command will deal with Mailbox format files later on.
Filters can be used on both the "summary" and "list" commands. Most can be combined. See each individual filter for details.
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".
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
Determines whether to use Git or not. Some features require Git though Cil is perfectly usable without.
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).
This list is checked against when filtering with --is-open.
This list is checked against when filtering with --is-closed.
This determines that labels you enter are checked against LabelAllowedList. Set to 1 if you require this feature.
This determines which labels are allowed if you have turned on LabelStrict.
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
This is used as a default in the "CreatedBy" and "AssignedTo" fields in any issues/comments/attachments you add.
This is used as a default in the "CreatedBy" and "AssignedTo" fields in any issues/comments/attachments you add.
Probably. Let me know :-)
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.
Andrew Chilton <andychilton@gmail.com>
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.
2018-09-09 | perl v5.28.0 |