Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • A Amethyst
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 8
    • Issues 8
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Crystal LinuxCrystal Linux
  • 馃捊 Software
  • Amethyst
  • Merge requests
  • !98

Draft: More options for scripts

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open marshmallow requested to merge marshmallow/amethyst:info into main Oct 26, 2022
  • Overview 10
  • Commits 4
  • Pipelines 0
  • Changes 10

this mr adds a --plain format, implements --quiet for search, and adds an info command.

info command:

image

for an example of what is possible with these changes, try out this script

#!/bin/bash

ame search -qp $1 2>&1 | fzf -q "$1" -m --preview 'CLICOLOR_FORCE=true ame info -q {1}' --ansi | xargs -ro ame i
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: info