# Program w/ quick launch

**URL:** <https://discuss.python.org/t/program-w-quick-launch/25255>\
**Category:** Python Help\
**Created:** [March 28, 2023, 1:14pm UTC](https://discuss.python.org/t/program-w-quick-launch/25255 "2023-03-28T13:14:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lcsub](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/lcsub/32/11758_2.png) [@lcsub](https://discuss.python.org/u/lcsub)\
**Post date:** [March 28, 2023, 1:14pm UTC](https://discuss.python.org/t/program-w-quick-launch/25255/1 "2023-03-28T13:14:54Z")

</div>

I’m designing a password manager and it would have some options, for example: -l to list user and password profiles; -n to create a profile; -d to delete; -g to generate a random password. I want to know how to write the code in a way that combines the program and the option. Ex: how to write code with output “passwd\_gen -n” and other combinations with python.

---

<div class="post-metadata">

**Author:** ![rob42](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/rob42/32/8218_2.png) [@rob42](https://discuss.python.org/u/rob42)\
**Post date:** [March 28, 2023, 1:36pm UTC](https://discuss.python.org/t/program-w-quick-launch/25255/2 "2023-03-28T13:36:24Z")

</div>

I’d suggest that you have a read of the [Argparse Tutorial](https://docs.python.org/3/howto/argparse.html?highlight=argparse) and then try to code a basic script around what you need, then ask specific questions if you hit something that you can’t do.

It’s not a library that I’ve used, but (as it happens) it is a library that I’m looking at for one of my projects.

---

<div class="post-metadata">

**Author:** ![barry-scott](https://avatars.discourse-cdn.com/v4/letter/b/e9c0ed/32.png) [@barry-scott](https://discuss.python.org/u/barry-scott)\
**Post date:** [March 28, 2023, 8:12pm UTC](https://discuss.python.org/t/program-w-quick-launch/25255/3 "2023-03-28T20:12:31Z")

</div>

There is an existing command line password manage that is very high quality (IMO).  
And its available on all OS, I think only from WSL on Windows  
See [https://www.passwordstore.org/](https://www.passwordstore.org/)

It written and actively maintained by a security expert, Jason A. Donenfeld.
