Skip to content

✨ feat(chaining): chain commands#18

Merged
jfbus merged 1 commit intomainfrom
chaining
Feb 6, 2026
Merged

✨ feat(chaining): chain commands#18
jfbus merged 1 commit intomainfrom
chaining

Conversation

@jfbus
Copy link
Contributor

@jfbus jfbus commented Feb 6, 2026

Description

Command can now be chained.

The output of a gli command (or any JSON object) can be piped to another gli command, and values from the first result can be used as flag values:

gli oapi CreateNic --SubnetId subnet-foo | gli oapi LinkNic -v --NicId {{.Nic.NicId}} --VmId i-foo --DeviceNumber 7

Type of Change

Please check the relevant option(s):

  • 🐛 Bug fix
  • ✨ New feature
  • 🧹 Code cleanup or refactor
  • 📝 Documentation update
  • 🔧 Build or CI-related change
  • 🔒 Security fix
  • Other (specify):

How Has This Been Tested?

Please describe the test strategy:

  • Manual testing
  • Unit tests
  • Integration tests
  • Not tested yet

Checklist

  • I have followed the Contributing Guidelines
  • I have added tests or explained why they are not needed
  • I have updated relevant documentation (README, examples, etc.)
  • My changes follow the Conventional Commits specification
  • My commits include appropriate Gitmoji

Additional Context

@ryohkhn
Copy link

ryohkhn commented Feb 6, 2026

No tests for the chaining ?

@jfbus jfbus changed the title ✨ feat(chainning): chain commands ✨ feat(chaining): chain commands Feb 6, 2026
@jfbus jfbus force-pushed the chaining branch 6 times, most recently from fca23c2 to b351ff9 Compare February 6, 2026 11:01
@jfbus jfbus merged commit a723309 into main Feb 6, 2026
4 checks passed
@jfbus jfbus deleted the chaining branch February 6, 2026 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants