Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions completions-cron/src/__generated__/completions-index.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions docs/resources/(resources)/ai-agents/meta.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
"title": "ai & agents",
"pages": ["claude-code", "claude-code-project", "ollama", "openclaw"]
"title": "AI & Agents",
"pages": [
"claude-code",
"claude-code-project",
"ollama",
"openclaw"
]
}
72 changes: 72 additions & 0 deletions docs/resources/(resources)/android/android-cli.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
---
title: android-cli
description: Reference pages for the Android CLI resources
---

The `android-cli` resource installs and configures [Android CLI](https://developer.android.com/tools/agents/android-cli), Google's command-line tool for managing the Android development environment. It manages the CLI itself, SDK packages, and Android Virtual Devices (AVDs) in a single resource.

On macOS, Android CLI is installed via the official curl script (ARM64 and x86_64 supported). On Linux, only AMD64/x86_64 is supported.

## Parameters

- **sdkPath**: *(string)* Path to the Android SDK directory. Written to `~/.androidrc` as `--sdk=<path>`. Defaults to the android CLI's built-in default location if omitted.
- **sdkPackages**: *(string[])* Android SDK packages to install declaratively. Package paths use forward-slash notation (e.g. `platforms/android-35`, `build-tools/35.0.0`, `cmdline-tools/latest`, `platform-tools`, `system-images/android-35/google_apis_playstore/x86_64`). Run `android sdk list --all` to see all available identifiers.
- **emulators**: *(string[])* Android emulator profiles to create as AVDs. Each string is a hardware profile name (e.g. `medium_phone`, `pixel_9`). Emulators are always created after `sdkPackages` are installed. Run `android emulator create --list-profiles` to see available profiles.

## Example usage

Install the CLI with essential SDK packages:

```json title="codify.jsonc"
[
{
"type": "android-cli",
"sdkPackages": [
"cmdline-tools/latest",
"platform-tools",
"platforms/android-35",
"build-tools/35.0.0"
]
}
]
```

Full Android development environment with an emulator:

```json title="codify.jsonc"
[
{
"type": "android-cli",
"sdkPackages": [
"cmdline-tools/latest",
"platform-tools",
"platforms/android-35",
"build-tools/35.0.0",
"system-images/android-35/google_apis_playstore/x86_64"
],
"emulators": ["pixel_9"]
}
]
```

## Common emulator profiles

| Profile | Description |
|---------|-------------|
| `medium_phone` | Generic medium phone (default) |
| `small_phone` | Generic small phone |
| `foldable` | Foldable form factor |
| `medium_tablet` | Generic medium tablet |
| `pixel_9` | Google Pixel 9 |
| `pixel_9_pro` | Google Pixel 9 Pro |
| `pixel_9_pro_fold` | Google Pixel 9 Pro Fold |
| `pixel_8` | Google Pixel 8 |
| `wear_os_large_round` | Wear OS round watch |
| `tv_1080p` | Android TV 1080p |
| `automotive_1024p_landscape` | Android Automotive |

## Notes

- Linux ARM64 is **not** supported. Only AMD64/x86_64 is supported on Linux.
- AVDs are removed using `android emulator remove`.
- Run `android info` to display the default SDK path in use.
7 changes: 7 additions & 0 deletions docs/resources/(resources)/android/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"title": "Android",
"pages": [
"android-cli",
"android-studio"
]
}
8 changes: 6 additions & 2 deletions docs/resources/(resources)/asdf/meta.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
"title": "asdf",
"pages": ["asdf", "asdf-install", "asdf-plugin"]
"title": "Asdf",
"pages": [
"asdf",
"asdf-install",
"asdf-plugin"
]
}
7 changes: 5 additions & 2 deletions docs/resources/(resources)/editors-ides/meta.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"title": "editors & ides",
"pages": ["vscode", "cursor", "intellij-idea", "clion", "goland", "phpstorm", "pycharm", "rider", "rubymine", "rustrover", "webstorm", "android-studio"]
"title": "Editors & IDEs",
"pages": [
"[android-studio](/docs/resources/android/android-studio)",
"..."
]
}
9 changes: 7 additions & 2 deletions docs/resources/(resources)/git/meta.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
"title": "git",
"pages": ["git", "git-lfs", "git-repository", "wait-github-ssh-key"]
"title": "Git",
"pages": [
"git",
"git-lfs",
"git-repository",
"wait-github-ssh-key"
]
}
6 changes: 4 additions & 2 deletions docs/resources/(resources)/go/meta.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"title": "go",
"pages": ["goenv"]
"title": "Go",
"pages": [
"goenv"
]
}
10 changes: 8 additions & 2 deletions docs/resources/(resources)/javascript/meta.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
{
"title": "javascript",
"pages": ["fast-node-manager", "npm", "npm-login", "nvm", "pnpm"]
"title": "JavaScript",
"pages": [
"fast-node-manager",
"npm",
"npm-login",
"nvm",
"pnpm"
]
}
1 change: 1 addition & 0 deletions docs/resources/(resources)/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"ai-agents",
"package-managers",
"editors-ides",
"android-development",
"asdf",
"git",
"javascript",
Expand Down
11 changes: 9 additions & 2 deletions docs/resources/(resources)/package-managers/meta.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
{
"title": "package-managers",
"pages": ["homebrew", "apt", "dnf", "macports", "snap", "yum"]
"title": "Package Managers",
"pages": [
"homebrew",
"apt",
"dnf",
"macports",
"snap",
"yum"
]
}
12 changes: 10 additions & 2 deletions docs/resources/(resources)/python/meta.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
{
"title": "python",
"pages": ["pip", "pip-sync", "pyenv", "uv", "venv-project", "virtualenv", "virtualenv-project"]
"title": "Python",
"pages": [
"pip",
"pip-sync",
"pyenv",
"uv",
"venv-project",
"virtualenv",
"virtualenv-project"
]
}
8 changes: 5 additions & 3 deletions docs/resources/(resources)/ruby/meta.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"title": "ruby",
"pages": ["rbenv"]
}
"title": "Ruby",
"pages": [
"rbenv"
]
}
2 changes: 1 addition & 1 deletion docs/resources/(resources)/scripting/meta.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"title": "scripting"
"title": "Scripting"
}
2 changes: 1 addition & 1 deletion docs/resources/(resources)/shell/meta.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"title": "shell"
"title": "Shell"
}
8 changes: 6 additions & 2 deletions docs/resources/(resources)/ssh/meta.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
"title": "ssh",
"pages": ["ssh-add", "ssh-config", "ssh-key"]
"title": "SSH",
"pages": [
"ssh-add",
"ssh-config",
"ssh-key"
]
}
10 changes: 7 additions & 3 deletions docs/resources/(resources)/syncthing/meta.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
"title": "syncthing",
"pages": ["syncthing", "syncthing-device", "syncthing-folder"]
}
"title": "Syncthing",
"pages": [
"syncthing",
"syncthing-device",
"syncthing-folder"
]
}
9 changes: 6 additions & 3 deletions docs/resources/(resources)/tart/meta.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"title": "tart",
"pages": ["tart", "tart-vm"]
}
"title": "Tart",
"pages": [
"tart",
"tart-vm"
]
}
1 change: 1 addition & 0 deletions docs/resources/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ Run AI models locally:
Configure popular development environments:

- **[vscode](/docs/resources/vscode)** - Visual Studio Code extensions and settings
- **[android-cli](/docs/resources/android-cli)** - Android CLI, SDK packages, and emulators
- **[android-studio](/docs/resources/android-studio)** - Android Studio IDE
- **[xcode-tools](/docs/resources/xcode-tools)** - Xcode Command Line Tools
- **[pgcli](/docs/resources/pgcli)** - Postgres CLI with auto-completion
Expand Down
4 changes: 3 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Plugin, runPlugin } from '@codifycli/plugin-core';
import { AndroidStudioResource } from './resources/android/android-studio.js';
import { AndroidCliResource } from './resources/android/android-cli/android-cli.js';
import { AptResource } from './resources/apt/apt.js';
import { AsdfResource } from './resources/asdf/asdf.js';
import { AsdfInstallResource } from './resources/asdf/asdf-install.js';
Expand Down Expand Up @@ -74,6 +74,7 @@ import { PhpStormResource } from './resources/jetbrains/phpstorm/phpstorm.js';
import { GoLandResource } from './resources/jetbrains/goland/goland.js';
import { RiderResource } from './resources/jetbrains/rider/rider.js';
import { RubyMineResource } from './resources/jetbrains/rubymine/rubymine.js';
import {AndroidStudioResource} from "./resources/android/android-studios/android-studio.js";

export const MIN_SUPPORTED_CLI_VERSION: string | undefined = '1.1.0';

Expand Down Expand Up @@ -113,6 +114,7 @@ runPlugin(Plugin.create(
new GitRepositoryResource(),
new GitRepositoriesResource(),
new AndroidStudioResource(),
new AndroidCliResource(),
new AsdfResource(),
new AsdfPluginResource(),
new AsdfInstallResource(),
Expand Down
Loading
Loading