diff --git a/README.md b/README.md
index b3982e1..668403e 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,6 @@
+> [!CAUTION]
+> Deprecated. Use [Acton](https://ton-blockchain.github.io/acton/) instead.
+
# Blueprint
@@ -163,7 +166,7 @@ Before developing, make sure that your current working directory is located in t
### Creating contracts
1. Run interactive: `npx blueprint create` or `yarn blueprint create`
-2. Non-interactive: `npx/yarn blueprint create --type ` (type can be `tolk-empty`, `func-empty`, `tact-empty`, `tolk-counter`, `func-counter`, `tact-counter`)
+2. Non-interactive: `npx/yarn blueprint create --type ` (type can be `tolk-empty`, `tolk-counter`, `func-empty` (deprecated), `func-counter` (deprecated), `tact-empty` (deprecated), `tact-counter` (deprecated))
* Example: `yarn blueprint create MyNewContract --type tolk-empty`
### Renaming contracts
diff --git a/src/cli/cli.ts b/src/cli/cli.ts
index 08d0a79..e795262 100644
--- a/src/cli/cli.ts
+++ b/src/cli/cli.ts
@@ -43,10 +43,19 @@ async function main() {
});
if (args._.length === 0) {
+ printDeprecationNotice();
+ console.log();
showHelp();
process.exit(0);
}
+ const command = args._[0];
+
+ if (command === 'help' || command === 'create') {
+ printDeprecationNotice();
+ console.log();
+ }
+
let effectiveRunners: Record = {};
const runnerContext: RunnerContext = {};
@@ -73,8 +82,6 @@ async function main() {
...runners,
};
- const command = args._[0];
-
const runner = effectiveRunners[command];
if (!runner) {
console.log(
@@ -134,3 +141,7 @@ function showHelp() {
console.log(``);
}
+
+function printDeprecationNotice() {
+ console.log(`${chalk.red('!')} Deprecated. Use https://ton-blockchain.github.io/acton/ instead.`);
+}
diff --git a/src/cli/constants.ts b/src/cli/constants.ts
index 0189b4a..f0ad1b2 100644
--- a/src/cli/constants.ts
+++ b/src/cli/constants.ts
@@ -6,11 +6,11 @@ export const templateTypes: { name: string; value: string }[] = [
value: 'tolk-empty',
},
{
- name: 'An empty contract (FunC)',
+ name: 'An empty contract (FunC, deprecated)',
value: 'func-empty',
},
{
- name: 'An empty contract (Tact)',
+ name: 'An empty contract (Tact, deprecated)',
value: 'tact-empty',
},
{
@@ -18,11 +18,11 @@ export const templateTypes: { name: string; value: string }[] = [
value: 'tolk-counter',
},
{
- name: 'A simple counter contract (FunC)',
+ name: 'A simple counter contract (FunC, deprecated)',
value: 'func-counter',
},
{
- name: 'A simple counter contract (Tact)',
+ name: 'A simple counter contract (Tact, deprecated)',
value: 'tact-counter',
},
];