Categorygithub.com/Graylog2/graylog-project-cli
modulepackage
0.0.0-20241125172649-f2e55c45f85e
Repository: https://github.com/graylog2/graylog-project-cli.git
Documentation: pkg.go.dev

# README

graylog-project CLI

Travis-CI Build Status License

This is a CLI tool for managing a graylog-project setup. Building Graylog involves managing multiple repositories, and this tool helps streamline that process.

Installation

  • Download the binary for your platform from the releases page
  • Copy the downloaded binary to a directory in your PATH (i.e. cp graylog-project.linux $HOME/bin/graylog-project
  • See graylog-project instructions on how to use it

Update

The CLI tool provides a self-update command to download and install the latest version from GitHub Releases.

Configuration

The CLI uses a manifest file to determine which repositories it should be managing. These manifests can be found in the manifests/ directory. When you run the checkout command, for example, the cli will checkout all the repos mentioned in the config at the versions specified.

Additionally, there is the apply-manifest file. This file is used during releases. It contains the new version that all managed repos should be set to after the release. It can also optionally contain the name of a new branch to create across all repos.

Available Commands

command namedescription
apply-manifestBuilds a version of Graylog using the components specified in the apply-manifest. Also increments the version after the build and optionally creates a new branch.
apply-manifest-generateGenerate an apply-manifest from the given manifest
bootstrapClone and setup graylog-project repository
changelogChangelog mangement
checkoutUpdate all repos for the given manifest
execExecute arbitrary commands across all modules
gitRun git commands across all modules
githubGitHub management
graylog-versionSets the Graylog version across all modules
helpDisplay help on any command
ideaCommands for setting up IntelliJ IDEA
maven-parentShow or modify maven parent
maven-propertyGets or sets a maven property
npmRun npm commands across all modules
npm-cleanCleanup npm/yarn related state
npm-versionSet package.json version
project-changelogProject-wide changelog management
regenerateRegenerate files for the current checkout
runRun Graylog server, MongoDB , Elasticsearch and other services
self-updateUpdate the CLI tool to the latest version.
statusShows the current version and branch of each managed repo.
updateUpdate all repositories for the current manifest
versionDisplay version of the Graylog CLI tool
yarnRun yarn commands across all modules

Contributing

Please read the contributing instructions to get started.

License

graylog-project-cli is released under the SSPL.

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author