DevCore โ WordPress & Laravel project automation CLI
Project description
๐ง DevCore CLI
DevCore adalah sistem otomatisasi untuk setup, konfigurasi, dan deployment stack WordPress modern melalui Command Line Interface (CLI).
Didesain untuk developer yang ingin mempercepat workflow WordPress Development, mulai dari inisialisasi proyek, konfigurasi environment, hingga sinkronisasi GitHub โ semua hanya lewat terminal.
๐ Fitur Utama
-
โ๏ธ WordPress Auto Installer & Setup
Buat project WordPress siap-pakai hanya dengan satu perintah. -
๐งฉ Template Builder
Dukung stack:WordPress + WooCommerce + Elementor. -
๐พ Database Handler (SQLite)
Menyimpan metadata project dan konfigurasi CLI dengan aman. -
๐ Konfigurasi Environment Otomatis
Termasuk rebuild & reset config. -
๐ Auto Sync ke GitHub
Login GitHub langsung dari CLI. -
๐งฑ Modular CLI Structure
Setiap perintah terpisah secara modular di direktoricore/.
โก Perintah Dasar DevCore
1๏ธโฃ Login GitHub terlebih dahulu
devcore login github
Setup project
devcore wp setup --generate
2๏ธโฃ Membuat template awal
devcore new project --type wordpress --client "New-Commerce-Project" --stack "wordpress+woo"
3๏ธโฃ Build WordPress Project
devcore wp init New-Commerce-Project
4๏ธโฃ Reset atau Rebuild Konfigurasi
devcore config rebuild
devcore config reset
5๏ธโฃ Menghapus Database Project
del devcore_projects.db
Setup WordPress Plugins & Themes
Installs plugins and themes automatically using WP-CLI based on configuration files.
devcore wp init New-Commerce-Project --include-setup
For Laravel Project
with filament :
devcore new project --type laravel --client "Code Sparks" --stack "laravel+vite" --init-git --with-filament --serve
without filament :
devcore new project --type laravel --client "Code Sparks" --stack "laravel+vite" --serve
๐ Struktur Direktori DevCore
dev-core-system/
โ
โโโ core/
โ โโโ command_config.py
โ โโโ command_new_setup.py
โ โโโ db.py
โ โโโ env_manager.py
โ โโโ wp_init.py
โ โโโ wp_dropdb.py
โ โโโ github_integration.py
โ โโโ template_engine.py
โ
โโโ templates/
โ โโโ .env.example (autogenerate)
โ โโโ docker-compose.yml (autogenerate)
โ โโโ README.md (autogenerate)
โ
โโโ .devcore.json
โโโ devcore_projects.db
โโโ devcore.py
โโโ devcore.cmd
โโโ README.md
โโโ DOCUMENTATION.md
Lists of commands
| Command | Fungsi | Status |
|---|---|---|
devcore login github |
Login ke GitHub (via core/github_integration.py) |
โ |
devcore wp setup --generate |
Generate devcore_project.json |
|
| โ | ||
devcore wp new project --type wordpress --client "New-Commerce-Project" |
Buat scaffolding baru | โ |
devcore wp init New-Commerce-Project |
Buat WP project baru | โ |
devcore wp init New-Commerce-Project --include-setup |
Build project + setup plugin & theme | โ |
devcore config rebuild / config reset |
Reset config environment | โ |
devcore wp dropdb <nama_project> |
Hapus database dan folder | โ |
๐งญ Roadmap Singkat
| Fase | Deskripsi | Status |
|---|---|---|
| Phase 1 | Core CLI & Config Handler | โ Selesai |
| Phase 2 | WordPress Stack Builder | ๐ง In Progress |
| Phase 3 | Integration Layer (GitHub, VPS Deploy) | โณ Planned |
| Phase 4 | Automation & Backup | โณ Planned |
| Phase 5 | DevCore Cloud Dashboard | ๐งฉ Research |
๐ Lisensi
MIT License ยฉ 2025 โ [DevCore Project Team > Puji Ermantopujiermanto@gmail.com]
Notes Error fixed
rm -rf build dist *.egg-info
pip uninstall devcore-cli -y
Rebuild & publish
python -m build
pip install --upgrade build
twine upload dist/*
# 1๏ธโฃ Bersihkan dulu build lama
rm -rf build dist *.egg-info
# 2๏ธโฃ Build ulang package
python setup.py sdist bdist_wheel
# 3๏ธโฃ Install ulang ke environment aktif
pip install --upgrade --force-reinstall dist/devcore_cli-1.0.3-py3-none-any.whl
# 1. Bersihkan build lama
rm -rf build dist *.egg-info
# 2. Build ulang
python -m build
# 3. Upload ke PyPI
twine upload dist/*
# 4. Instal versi terbaru
pip install --no-cache-dir -U devcore-cli
Testing
pip install --no-cache-dir -U devcore-cli
devcore --help
๐ฌ Kontribusi
Pull Request, Issue, dan Feedback selalu terbuka. Silakan buat branch baru sebelum commit ke main.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file devcore_cli-1.0.8.tar.gz.
File metadata
- Download URL: devcore_cli-1.0.8.tar.gz
- Upload date:
- Size: 19.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30929411a74424f8a9544a031d408d18f2c8333cdbe862a0dd58432059e995f8
|
|
| MD5 |
33c05b211a52e69369368f0d2f2e806a
|
|
| BLAKE2b-256 |
9814b75fb092138911413946e53e2efd26bdde903c6cf05fafd9670e49e04449
|
File details
Details for the file devcore_cli-1.0.8-py3-none-any.whl.
File metadata
- Download URL: devcore_cli-1.0.8-py3-none-any.whl
- Upload date:
- Size: 21.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6bf359073d42fd5fcca5d9f5d60fae4b1b0d3fccd4a473af183ae758610b8d8d
|
|
| MD5 |
cf86909f16e103aa4f923eef2fdb2455
|
|
| BLAKE2b-256 |
5ae3286f2f88705a777f960505edb84774948b073e1883caa0a2f3ea1f3a8811
|