cscope-manager
A tool helps you manage cscope/ctags tags
Installation
pip install cscope-manager
Custimization
You can create a config file in ~/.csmgr.config to customize your preference
# Supported configurations and format
project_list = .csmgr.project
suffixes = .cpp
out_list = map.files
meta_files = cscope.in.out cscope.out cscope.po.out tags
exclude_dirs = dir
# Note: Only supprot $out_list. Not support other variables interpolation
exec_cmds = cscope -bqk -i $out_list && ctags -L $out_list
display_max = 20
delim = ........................................
delim_end = ****************************************
Features
- Generate file list (cscope.files) for cscope/ctags through a customize project list (.csmgr.project)
- Remove duplicate file pathes in cscope.files
- Remove symbolic link in cscope.files
- Remove not existed files in cscope.files
- Check redudant path in project list
Usage
usage: csmgr [-h] [-u] [-f] [-s SUFFIXES [SUFFIXES ...]] [-c CONFIG_FILE]
[-o OUT_LIST] [-m META_FILES [META_FILES ...]]
[-e EXCLUDE_DIRS [EXCLUDE_DIRS ...]] [-d] [--dry-run]
[--max-display MAX_DISPLAY] [-x EXEC_CMDS [EXEC_CMDS ...]]
[--verbose] [-v]
[path [path ...]]
positional arguments:
path add path to project list (.csmgr.project) and run
commands for tag generation if cscope.files is changed
ex. dir/, file.c
optional arguments:
-h, --help show this help message and exit
-u, --update Update cscope.files if necessary and run commands for
tag generation
-f, --force delete meta data and run commands for tag generation
-s SUFFIXES [SUFFIXES ...], --suffixes SUFFIXES [SUFFIXES ...]
assign suffixes filter (default: .c .h .js .cpp .py
.scss .css .java)
-c CONFIG_FILE, --config-file CONFIG_FILE
assign config file (default: ~/.csmgr.config)
-o OUT_LIST, --out-list OUT_LIST
assign the name of output list file (default:
cscope.files)
-m META_FILES [META_FILES ...], --meta-files META_FILES [META_FILES ...]
assign meta data files (default: cscope.in.out
cscope.out cscope.po.out tags)
-e EXCLUDE_DIRS [EXCLUDE_DIRS ...], --exclude-dirs EXCLUDE_DIRS [EXCLUDE_DIRS ...]
assign exclude dirs (default: .git node_modules)
-d, --delete-meta delete all meta data
--dry-run show what would be done
--max-display MAX_DISPLAY
assign how many paths will be shown in the log
-x EXEC_CMDS [EXEC_CMDS ...], --exec-cmds EXEC_CMDS [EXEC_CMDS ...]
assign commands for tag generation. $out_list will be
replaced by list file name (check -o for details).
(default: cscope -bqk -i $out_list && ctags -L
$out_list)
--verbose show more logs
-v, --version show program's version number and exit
Metadata
Release files for cscope-manager 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cscope-manager-1.1.2.tar.gz | 6.4 kB | Without provenance | Details for cscope-manager-1.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cscope_manager-1.1.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for cscope_manager-1.1.2-py2.py3-none-any.whl |
Total release size: 17.0 kB
Release files / cscope-manager-1.1.2.tar.gz
| Download URL | cscope-manager-1.1.2.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b9420b5029fcdf248ccc12d93a119be4822149117cd2ee0be2d1979d03630487
|
|
BLAKE2b-256 checksum How to use checksums |
2eb94703d7cdffea0421c6c95e9033f459cc5c33871cc0fe5f0698875a3ed44a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
|
Release files / cscope_manager-1.1.2-py2.py3-none-any.whl
| Download URL | cscope_manager-1.1.2-py2.py3-none-any.whl |
|---|---|
| Size | 10.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
97001f180172642ea307f27da44ac850be55109419280a7bdbbc68027f13c85f
|
|
BLAKE2b-256 checksum How to use checksums |
ad5812efdea634df8ac05164fde8ac5ae6699c2f593a3459b25e6aed4e25e11b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
|
Security for cscope-manager 1.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.