Skip to content

Cmdex 0.1.7

Choose a tag to compare

@thangkes thangkes released this 15 Oct 09:42
· 25 commits to main since this release

Cmdex 0.1.7: tool packs for Python, Java, Maven and Gradle

Tool packs

  • New Library ▸ Tool packs: commands for programs that are not part of the system. This version brings Python (59 commands: python, py, venv, json.tool, pip), Java (45: java, javac, jar, javadoc, javap, jdeps, keytool, jarsigner, jps, jstack, jmap), Maven (23) and Gradle (31), all in English and Vietnamese.
  • Cmdex offers a pack when it finds its program on this computer, at start and when you come back to the window after installing something. Choose Add, Later or Don't ask again. Turning a pack off removes its commands, but the ones you edited stay yours.
  • Finding a program only looks at file names in the folders of PATH. Cmdex never runs the program, reads it or asks a package manager, and nothing is downloaded: the packs are built into Cmdex.
  • Commands written for one system show on it only (activating a virtual environment: source …/bin/activate on Linux, …\Scripts\activate.bat on Windows).
  • The pack content is adapted from tldr-pages (CC BY 4.0), with a Vietnamese translation added.

More warnings

  • Commands are labelled Warning when they overwrite a file with >, start a Java debug agent, share a folder (python -m http.server), dump a program's memory (jmap -dump), change keys or keystores (keytool, jarsigner), create or extract .jar files, clean or install builds (mvn clean/install/deploy, gradle clean/wrapper/init) or empty the pip cache. This applies to every command, not only the new packs.
  • A Java debug agent listening on every address (address=*:5005) is Critical: anyone who can reach the port can run code in the program.
  • The risky commands in the packs carry a note saying why.

Downloads

File For
Cmdex-Windows-Setup-0.1.7.exe Windows 10/11 64-bit, per-user install
Cmdex-Linux-amd64-0.1.7.tar.gz Linux x86-64 (added by CI a few minutes after the release)

Tiếng Việt

Gói công cụ

  • Mục mới Thư viện lệnh ▸ Gói công cụ: lệnh cho các chương trình không có sẵn trong hệ điều hành. Bản này có Python (59 lệnh: python, py, venv, json.tool, pip), Java (45: java, javac, jar, javadoc, javap, jdeps, keytool, jarsigner, jps, jstack, jmap), Maven (23) và Gradle (31), đều có tiếng Việt và tiếng Anh.
  • Cmdex gợi ý một gói khi thấy chương trình đó trên máy: lúc mở app, và khi bạn quay lại cửa sổ sau khi cài thêm phần mềm. Chọn Thêm, Để sau hoặc Không hỏi lại. Tắt gói sẽ bỏ các lệnh của gói, lệnh bạn đã sửa vẫn được giữ.
  • Cmdex chỉ xem tên file trong các thư mục của PATH: không chạy chương trình, không đọc nội dung, không gọi trình quản lý gói, và không tải gì về vì các gói có sẵn trong Cmdex.
  • Lệnh dành cho một hệ chỉ hiện trên hệ đó (kích hoạt môi trường ảo: source …/bin/activate trên Linux, …\Scripts\activate.bat trên Windows).
  • Nội dung gói chuyển thể từ tldr-pages (CC BY 4.0) và dịch thêm tiếng Việt.

Thêm nhãn cảnh báo

  • Lệnh được gắn Cảnh báo khi: ghi đè file bằng >, bật Java debug agent, chia sẻ thư mục (python -m http.server), dump bộ nhớ chương trình (jmap -dump), đổi khoá hay keystore (keytool, jarsigner), tạo hoặc giải nén .jar, xoá hoặc cài bản build (mvn clean/install/deploy, gradle clean/wrapper/init), xoá cache pip. Áp dụng cho mọi lệnh, không chỉ lệnh trong gói mới.
  • Java debug agent mở cho mọi địa chỉ (address=*:5005) là Critical: ai kết nối được tới cổng đó đều chạy được code trong chương trình.
  • Các lệnh có rủi ro trong gói đều kèm ghi chú giải thích lý do.

Tải về

File Dùng cho
Cmdex-Windows-Setup-0.1.7.exe Windows 10/11 64-bit, cài cho người dùng hiện tại
Cmdex-Linux-amd64-0.1.7.tar.gz Linux x86-64 (CI thêm vào vài phút sau khi phát hành)