5 Commits

Author SHA1 Message Date
63ef233357 add consolidated methods, update cli 2026-01-19 11:50:51 -05:00
b4f49be2c6 add toughswitch consolidated type, and use in cmd 2026-01-19 11:45:16 -05:00
5e8e7cd41d refactor CLI to use shared clients from context
- Add Login() method to toughswitch and edgeos clients
- Use zerolog's built-in context methods for logger storage
- Add context helpers for toughswitch/edgeos clients
- Create prepareClients prerun to initialize clients from config
- Consolidate device fetching into shared client.go helper

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 17:03:35 -05:00
868ab64bc9 fix config default flag 2026-01-17 17:10:58 -05:00
edc86feccd frame out cli tool 2026-01-17 17:06:32 -05:00