Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
haskell-gargantext
haskell-gargantext
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 154
    • Issues 154
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 7
    • Merge Requests 7
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • gargantext
  • haskell-gargantexthaskell-gargantext
  • Merge Requests
  • !300

Merged
Opened Jul 01, 2024 by Alfredo Di Napoli@AlfredoDiNapoli
  • Report abuse
Report abuse

Convert standalone executables into a single `gargantext-cli` executable

Fixes #355 (closed).

Now we have all those scattered executables (minus the gargantext-server, which I think it still makes sense for it to be standalone) bundled under a "swiss army knife" gargantext-cli executable:

Usage: gargantext-cli COMMAND

  CLI for the gargantext-server. Type --help for all the commands.

Available options:
  -h,--help                Show this help text

Available commands:
  filter-terms             Filter Terms and Cooc.
  obfuscate-db             Obfuscate a cloned Gargantext DB.
  admin                    Create users.
  import                   Import CLI.
  init                     Initialise this Gargantext instance.
  invitations              Mailing invitations.
  phylo                    Phylo toolkit.
  phylo-profile            Helper to profile phylo code.
  upgrade                  Upgrade a Gargantext node.
  golden-file-diff         Compare the output of two golden files.

I have tried, whenever possible, to keep the input to the executable (in terms of argument parsing) backward compatible or anyway as close as possible as the originals.

Check out, review, and merge locally

Step 1. Fetch and check out the branch for this merge request

git fetch origin
git checkout -b adinapoli/issue-355 origin/adinapoli/issue-355

Step 2. Review the changes locally

Step 3. Merge the branch and fix any conflicts that come up

git fetch origin
git checkout origin/dev
git merge --no-ff adinapoli/issue-355

Step 4. Push the result of the merge to GitLab

git push origin dev

Note that pushing to GitLab requires write access to this repository.

Tip: You can also checkout merge requests locally by following these guidelines.

  • Discussion 0
  • Commits 9
  • Pipelines 7
  • Changes 17
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
1
Labels
Ready to merge
Assign labels
  • View project labels
Reference: gargantext/haskell-gargantext!300

Revert this merge request

This will create a new commit in order to revert the existing changes.

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.

Cherry-pick this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.