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

[docfixed]: dev-cli, ao init --lang options are 'lua' and 'c' #1098

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

RyanKung
Copy link

@RyanKung RyanKung commented Jan 5, 2025

The current ao init --help <project_name> output shows the following:

~/ai_repub » ao init --help

Usage:   ao init -l cpp <my-project-name>
Version: 0.1.7

Description:

  Create an ao Process Source Project

Options:

  -h, --help              - Show this help.
  -l, --lang  <language>  - The starter to use. Defaults to Lua. Options are "lua" and "cpp"

However, the actual supported options are "lua" and "c", which matches the structure inside the folder.
Using "cpp" will fallback to lua (as default).

 ls ~/.ao/starters                                                                                                                          1 ↵
c  lua

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant