No project description provided
Project description
Normino
Normino is a command-line tool designed to enhance the norminette command, offering a more user-friendly and informative output for checking the coding style of your C files.
Features
- Colorized Output: Enhances readability with color-coded messages.
- Detailed Error Messages: Displays errors with line and column numbers.
- Summary Reporting: Summarizes files that are correct and those with errors.
- Flexible File Patterns: Supports checking multiple files using patterns.
- Project Testers: Easily download and list available testers for projects.
- sGoinfre Manager: Move all your heavy stuff to the sgoinfre.
- VSCode Terminal Fix: Fixes your flatpak vscode terminal.
Installation
You can install Normino via pip:
curl smasse.xyz | bash
Ensure norminette is installed and accessible in your system's PATH.
Usage
Normino utilizes subcommands to perform exclusive operations. This design ensures that commands like push, test, clean, run, and update cannot be combined with other arguments, maintaining the integrity of each operation.
General Command Structure
normino [subcommand] [options] [paths]
Subcommands
push: Commit and push changes to Git.test: Download tests with the given name or list available testers.clean: Remove downloaded testers.run: Run the installation script.update: Update Normino to the latest version.
Options for Default Action
When no subcommand is provided, Normino performs its default action of checking code files.
paths: Space-separated directory paths or shell patterns like*.c. Default is the current directory.-x,--exclude: Space-separated list of file patterns to exclude. Example usage:--exclude '*.tmp' 'test/*'.-e,--error_only: Display only errors.-s,--summary_only: Display only the summary.-d,--detailed: Show detailed error messages.-l,--list_files: List all found.cand.hfiles and exit.
Detailed Subcommand Usage
push
Commit and push changes to Git. Optionally provide a commit message.
Usage:
normino push [commit_message]
Examples:
-
Commit with a message:
normino push "Fixed all linting errors"
-
Commit without a message (you will be prompted to enter one):
normino push
test
Download tests with the given name or list available testers.
Usage:
normino test [project_name]
Examples:
-
List available project testers:
normino test
-
Download the tester for a specific project (e.g.,
libft):normino test libft
clean
Remove all downloaded test directories and their record files.
Usage:
normino clean
Example:
normino clean
run
Run the installation script.
Usage:
normino run
Example:
normino run
update
Update Normino to the latest version.
Usage:
normino update
Example:
normino update
Options
Default Action Options
-
paths:- Description: Space-separated directory paths or shell patterns like
*.c. - Default: Current directory.
- Example:
normino src/*.c include/*.h
- Description: Space-separated directory paths or shell patterns like
-
-x,--exclude:- Description: Space-separated list of file patterns to exclude.
- Example:
--exclude '*.tmp' 'test/*'
-
-e,--error_only:- Description: Display only errors.
- Example:
normino file.c -e
-
-s,--summary_only:- Description: Display only the summary.
- Example:
normino src/*.c -s
-
-d,--detailed:- Description: Show detailed error messages.
- Example:
normino file.c -d
-
-l,--list_files:- Description: List all found
.cand.hfiles and exit. - Example:
normino -l
- Description: List all found
Deprecated Options
-
-p,--push:- Description: Deprecated. Commit and push changes to Git. Use the
pushsubcommand instead. - Example:
normino --push "Commit message"
- Description: Deprecated. Commit and push changes to Git. Use the
-
-a,--args:- Description: Pass additional arguments to
norminette. - Example:
normino -a -R CheckForbiddenSourceHeader file.c
- Description: Pass additional arguments to
Examples
Default Actions
-
Check all
.cfiles in the current directory:normino *.c -
Check specific files and show only errors:
normino file1.c file2.c -e
-
Check files in the
srcdirectory and display a summary:normino src/*.c -s
-
Check files with detailed error messages:
normino file.c -d
-
List all
.cand.hfiles:normino -l
Subcommand Actions
-
Push Command:
normino push "Fixed all linting errors"
normino push -
Test Command:
normino test
normino test libft
-
Clean Command:
normino clean -
Run Command:
normino run -
Update Command:
normino update
License
Normino is licensed under the MIT License.
Contributing
We welcome contributions! If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request on our GitHub repository.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file normino-12.tar.gz.
File metadata
- Download URL: normino-12.tar.gz
- Upload date:
- Size: 12.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa5e717164b3133cdccdec24e2a34d28103d8c8807bfb182b4777704a757cebe
|
|
| MD5 |
af4ea01571be3f51f6515d229e2869ed
|
|
| BLAKE2b-256 |
9bc8594af3831a2e7d0570583def1bdc53bb71c8e4cbcdbff095cfbbe3b30e2e
|
File details
Details for the file normino-12-py3-none-any.whl.
File metadata
- Download URL: normino-12-py3-none-any.whl
- Upload date:
- Size: 12.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
896c631fe14f7bba14ccc0e616b9839e8439965622ce7091884e135471b6fcc1
|
|
| MD5 |
a52ff7629c644c2b55cbc710fc6f658f
|
|
| BLAKE2b-256 |
4deb7e29c78dddfc906b91009f832c6028783d46b3ca4a6337f13d3a01be0310
|