Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add command line usage to the client #210

Open
5 tasks
teon opened this issue Feb 20, 2024 · 3 comments
Open
5 tasks

Add command line usage to the client #210

teon opened this issue Feb 20, 2024 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@teon
Copy link
Contributor

teon commented Feb 20, 2024

The client now usable only with UI, provide a possibility to use it from command line.
Best would be to add options and arguments, when specified the UI is not opening.
Like:

  • --instances - list instances
  • --vpns [instance] list all vpns - if [instance] is given - only from instance
  • --connect <vpn_name> - connect to a VPN <vpn_name>
  • --disconnect [vpn_name] - disconnect from all connected VPNS or just <vpn_name>
  • --status - show current status (if connected and to which instance)
@teon teon added enhancement New feature or request good first issue Good for newcomers labels Mar 19, 2024
@teon teon added good first issue Good for newcomers and removed good first issue Good for newcomers labels Jul 1, 2024
@cpprian cpprian self-assigned this Jul 11, 2024
@cpprian
Copy link

cpprian commented Jul 16, 2024

  • defguard_cli binary

  • --instances

  • --vpns

  • connect, disconnect and status arguments need to know about active connections with vpns

  • cli cannot send in separate thread stats about vpns

@teon
Copy link
Contributor Author

teon commented Jul 16, 2024

@cpprian please add link to current branch

@cpprian
Copy link

cpprian commented Jul 17, 2024

branch #210 @teon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
Status: Refined & Ready
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants