The DevAgent CLI tool. Use the power of DevAgent, from the comfort of your CLI!
-
Make sure you have Go installed on your system.
-
Clone this repository:
git clone https://github.com/a-alhusaini/devagent-cli.git
cd devagent-cli
go build
There are two ways to use the CLI:
./devagent <question>
./devagent
./devagent write a simple flask app
Result:
Here's a simple Flask app that you can use to get started with Flask:
from flask import Flask
app = Flask(__name__)
@app.route('/')
def hello():
return 'Hello, world!'
@app.route('/<string:name>')
def goodbye(name):
return f'Goodbye, {name}!'
if __name__ == '__main__':
app.run(port=80)
This Flask app defines two routes: one for a root URL and one for a URL with a name
parameter. The root URL will respond with a simple "Hello, world!" message, and the URL with a name
parameter will respond with a personalized "Goodbye" message. The app is then run on port 80.