Fwd: Answer me as soon as possible?

41 views
Skip to first unread message

Abhinandan K

unread,
Jul 12, 2022, 3:44:00 AM7/12/22
to django...@googlegroups.com


---------- Forwarded message ---------
From: Abhinandan K <abhin...@snakescript.com>
Date: Tue, Jul 12, 2022 at 1:02 PM
Subject: Answer me as soon as possible?
To: <django...@googlegroups.com>


Is anybody know how to install CLI tool with brew in Django

Abhinandan K

unread,
Jul 12, 2022, 3:44:02 AM7/12/22
to django...@googlegroups.com

Mr.Teapot

unread,
Jul 12, 2022, 3:46:33 AM7/12/22
to Django users
HI Abhinandan,
Please provide more details. What do you exactly want to install, your question is a little bit confusing.

Abhinandan K

unread,
Jul 12, 2022, 3:53:12 AM7/12/22
to django...@googlegroups.com, imb...@gmail.com
# importing required modules
import argparse

# create a parser object
parser = argparse.ArgumentParser(description = "An addition program")

# add argument
parser.add_argument("add", nargs = '*', metavar = "num", type = int,
help = "All the numbers separated by spaces will be added.")

# parse the arguments from standard input
args = parser.parse_args()

# check if add argument has any input data.
# If it has, then print sum of the given numbers
if len(args.add) != 0:
print(sum(args.add))

it is CLI , please how to install it through brew .








Mr.Teapot

unread,
Jul 12, 2022, 4:14:59 AM7/12/22
to Django users
Do you want to install this script using brew?

Abhinandan K

unread,
Jul 12, 2022, 4:36:48 AM7/12/22
to django...@googlegroups.com
yes

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/196baed7-599d-4f86-b8e6-529f4b890811n%40googlegroups.com.

Mr.Teapot

unread,
Jul 12, 2022, 4:42:01 AM7/12/22
to Django users
Here you have an official document on how to create a formula(package definition) https://docs.brew.sh/Formula-Cookbook

Kasper Laudrup

unread,
Jul 12, 2022, 4:58:16 AM7/12/22
to django...@googlegroups.com
On 12/07/2022 09.43, Abhinandan K wrote:
>
> Is anybody know how to install CLI tool with brew in Django
>

Reading this would help:

http://www.catb.org/~esr/faqs/smart-questions.html

Kind regards,

Kasper Laudrup

Abhinandan K

unread,
Jul 12, 2022, 9:53:41 AM7/12/22
to django...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages