Skip to content

🚸 ux(templating): add templates#24

Merged
jfbus merged 1 commit intomainfrom
templating
Feb 9, 2026
Merged

🚸 ux(templating): add templates#24
jfbus merged 1 commit intomainfrom
templating

Conversation

@jfbus
Copy link
Contributor

@jfbus jfbus commented Feb 9, 2026

Description

This PR adds templating.

The request is built from the template and from flags.

Template from stdin:

echo '{"NetId":"vpc-foo"}' | gli oapi CreateSubnet --IpRange 10.0.1.0/24

Template from a file:

gli oapi CreateSubnet --IpRange 10.0.1.0/24 --template subnet.json

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

@jfbus jfbus force-pushed the templating branch 5 times, most recently from 7e21007 to a573830 Compare February 9, 2026 15:43
@jfbus jfbus merged commit 7a70557 into main Feb 9, 2026
@jfbus jfbus deleted the templating branch February 9, 2026 21:33
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.

2 participants