From 9e28f1dd0483487df079ec26526922f0b8d9b75e Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Sun, 27 Dec 2020 22:26:29 +0100 Subject: [PATCH] update documentation --- README.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 660340d..e604aec 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ $ php bin/console mailing:list $ php bin/console mailing:rename xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx "Foo bar" ``` -With `mailing:list`, you retrieve the URL of the feed. +With `php bin/console mailing:list --feed`, you retrieve the URL of the feed. In case of you want to delete the mailing: @@ -97,7 +97,22 @@ $ php bin/console mail:import "$MAILING_ID" < "$MAIL_FILE" $ command | php bin/console mail:import "$MAILING_ID" ``` -If you wan create another feed then: +The feed can be published therefore accessible via the home page: + +``` +$ php bin/console mailing:publish xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx # OR + +# php bin/console mailing:new "Foo bar" --public +# php bin/console mailing:new "Foo bar" -p +``` + +…and it can be private: + +``` +$ php bin/console mailing:unpublish xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx # OR +``` + +If you want to create another feed then: * Create an aliase * Create a mailing