Skip to content

tavp-cli

Command line tools untuk TAVP Stack.

Install

bash
composer global require tavp/cli

Commands

Project

CommandDescription
tavp new <name>Buat project baru
tavp serveStart development server
tavp initInit project yang sudah ada
tavp key:generateGenerate APP_KEY
tavp upgradeUpgrade TAVP modules

Database

CommandDescription
tavp migrateJalankan migrations
tavp migrate:statusCek status migrations

Make

CommandDescription
tavp make:model <name>Buat model
tavp make:controller <name>Buat controller
tavp make:migration <name>Buat migration
tavp make:view <name>Buat view
tavp make:middleware <name>Buat middleware
tavp make:seeder <name>Buat seeder
tavp make:event <name>Buat event
tavp make:listener <name>Buat listener
tavp make:module <name>Buat module
tavp make:scaffold <name>Buat model + controller + view + migration

CMS

CommandDescription
tavp cms:publishPublish scheduled content
tavp hub:installInstall TavpHub admin panel
tavp hub:make:resourceBuat admin resource
tavp kit:installInstall TavpKit teams

Cache & Schedule

CommandDescription
tavp cache:clearClear application cache
tavp schedule:runRun scheduled tasks

Environment

CommandDescription
tavp env:listList semua environment
tavp env:add <name>Tambah environment baru
tavp env:switch <name>Switch environment

Deploy & Remote

CommandDescription
tavp deployDeploy ke production
tavp pushPush ke remote
tavp pullPull dari remote
tavp remote:addTambah remote baru

Server

CommandDescription
tavp upStart server
tavp downMaintenance mode
tavp phalcon:installInstall Phalcon C-extension
tavp weave:enableEnable Weave runtime

Usage Examples

bash
# Buat project baru
tavp new my-app

# Start development server
tavp serve

# Jalankan migrations
tavp migrate

# Clear cache
tavp cache:clear

# Publish scheduled content
tavp cms:publish

# Run scheduled tasks
tavp schedule:run

Released under the MIT License.