From 5e27d410f403a69b2076c1a03d26e7b953850150 Mon Sep 17 00:00:00 2001 From: hPrnicessPi3 Date: Fri, 9 May 2025 15:58:59 -0600 Subject: [PATCH] more bugfixes 6 --- README.md | 9 +++++---- custom_bin/create-project | 9 +++++++++ help.txt | 5 +++-- todo.txt | 4 ---- 4 files changed, 17 insertions(+), 10 deletions(-) create mode 100644 custom_bin/create-project diff --git a/README.md b/README.md index c168a04..c4d89a3 100644 --- a/README.md +++ b/README.md @@ -86,8 +86,8 @@ Some take optional [branch] paramater * ex. `changebaud 115200` * `changeesp` change esp device * `changeesp` alone prompts to enter -* `changeesp ` manually changes to - * ex. `changeesp esp32p4` + * `changeesp ` manually changes to + * ex. `changeesp esp32p4` * `changeport` change serial port * `changeport` alone prompts to select * `changeport ` manually specifies path @@ -105,8 +105,9 @@ Some take optional [branch] paramater * `chipinfo` get information from the esp chip * `espinfo` get detailed information from the esp chip * `menuconfig` run `idf.py menuconfig` -* `create-project ` same as idf.py create-project - * ex. `create-project hello-world` +* `create-project` alone prompts for a project name + * `create-project ` creates a project with + * ex. `create-project hello-world` * `esp-install-monitor` monitors install.log. alias for `tail -n 75 -f $ESPIDF_INSTALLDIR/install.log` * `esp-install-logs` displays full text of install.log and version-data.txt diff --git a/custom_bin/create-project b/custom_bin/create-project new file mode 100644 index 0000000..f717814 --- /dev/null +++ b/custom_bin/create-project @@ -0,0 +1,9 @@ +#!/bin/bash +if [[ ! -z "$1" ]]; then + projname="$1" +else + echo "Enter Project Name" + read projname; +fi + +idf.py create-project "$projname" \ No newline at end of file diff --git a/help.txt b/help.txt index 383d8c7..164e2c1 100644 --- a/help.txt +++ b/help.txt @@ -100,8 +100,9 @@ Features: `chipinfo` get information from the esp chip `espinfo` get detailed information about esp-idf and esp-idf-tools envrionment `menuconfig` run `idf.py menuconfig` - `create-project ` same as idf.py create-project - ex. `create-project hello-world` + `create-project` alone prompts for a project name + `create-project ` creates a project with + ex. `create-project hello-world` `esp-install-monitor` monitors install.log. alias for `tail -n 75 -f $ESPIDF_INSTALLDIR/install.log` `esp-install-logs` displays full text of install.log and version-data.txt diff --git a/todo.txt b/todo.txt index 022a714..0fb8838 100644 --- a/todo.txt +++ b/todo.txt @@ -1,7 +1,3 @@ -test retool flow - -test/fix changebaud/changebaud -test espinfo test menuconfig, monitor, flashmonitor, exit-esp-tools test reboot thing audit readme