
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
A penify cli tool to generate Documentation, Commit-summary and Hooks to automate git workflows.
Penify CLI is a command-line tool for managing Git hooks, generating documentation, and streamlining the development workflow. It provides functionality to install and uninstall Git post-commit hooks, generate documentation for files or folders, perform Git commits with automated message generation, and manage authentication.
You can install Penify CLI using pip:
pip install penify-cli
Penify CLI provides several subcommands for different functionalities:
To log in and obtain an API token:
penify-cli login
This command will open a browser window for authentication. After successful login, the API key will be saved locally for future use.
To install the Git post-commit hook:
penify-cli install-hook -l /path/to/git/repo
-l, --location
: The path to the Git repository where you want to install the hook.To uninstall the Git post-commit hook:
penify-cli uninstall-hook -l /path/to/git/repo
-l, --location
: The path to the Git repository from which you want to uninstall the hook.To generate documentation for files or folders:
penify-cli doc-gen [options]
Options:
-fl, --file_path
: Path to a specific file for which to generate documentation.-cf, --complete_folder_path
: Path to a folder for which to generate documentation for all files.-gf, --git_folder_path
: Path to a Git repository to generate documentation for modified files. Defaults to the current directory.To commit code with an automatically generated commit message:
penify-cli commit -gf /path/to/git/repo [-m "Optional message"] [-e True/False]
-gf, --git_folder_path
: Path to the Git repository. Defaults to the current directory.-m, --message
: Optional commit message. If not provided, a default message will be used.-e, --terminal
: Set to "True" to open the terminal for editing the commit message. Defaults to "False".Penify CLI uses an API token for authentication. The token is obtained and used in the following priority:
-t
or --token
PENIFY_API_TOKEN
~/.penify
file (created after successful login)If no token is available, you'll be prompted to log in or provide a token.
PENIFY_API_TOKEN
: You can set this environment variable with your API token to avoid passing it as an argument each time.To set up the development environment:
Clone the repository:
git clone https://github.com/SingularityX-ai/penify-cli.git
Install the package in editable mode:
pip install -e .
This project is licensed under the MIT License.
Suman Saurabh (ss.sumansaurabh92@gmail.com)
Contributions are welcome! Please feel free to submit a Pull Request.
If you encounter any problems or have suggestions, please file an issue on the GitHub repository.
For automated API Documentation, Architecture Documentation, Code Documentation, Pull Request Documentation, or if you need a demo, please join our Discord support channel.
FAQs
A penify cli tool to generate Documentation, Commit-summary and Hooks to automate git workflows.
We found that penify-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.