Skip to content

a-alhusaini/devagent-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DevAgent CLI

The DevAgent CLI tool. Use the power of DevAgent, from the comfort of your CLI!

Installation

  1. Make sure you have Go installed on your system.

  2. Clone this repository:

git clone https://github.com/a-alhusaini/devagent-cli.git
cd devagent-cli
go build

Usage

There are two ways to use the CLI:

./devagent <question>

./devagent

Example Response

./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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages