গ্যাকশন CLI (ডায়লগফ্লো)
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
gactions
হল কমান্ড লাইন ইন্টারফেস যা আপনি আপনার অ্যাকশন প্রকল্প পরীক্ষা এবং আপডেট করতে ব্যবহার করেন।
সিস্টেম আর্কিটেকচার
সঠিক ডাউনলোড নির্বাচন করতে, আপনাকে আপনার সিস্টেম আর্কিটেকচার খুঁজে বের করতে হবে।
Mac OS X এবং Linux ডিভাইসে, আপনি uname -a
টার্মিনাল কমান্ড ব্যবহার করে আপনার কম্পিউটারের CPU আর্কিটেকচার খুঁজে পেতে পারেন।
Windows 10 ডিভাইসে, CPU আর্কিটেকচার খুঁজে পেতে নিম্নলিখিত পদক্ষেপগুলি নিন:
সেটিংস খুলুন
সিস্টেম ক্লিক করুন
সম্পর্কে ক্লিক করুন
ডাউনলোড
আপনি আপনার অপারেটিং সিস্টেমের জন্য gactions
ডাউনলোড করতে পারেন (নীচে)।
ওএস | ডাউনলোড |
---|
উইন্ডোজ | |
ম্যাক | |
লিনাক্স | |
প্রয়োজনীয়তা
- উপযুক্ত অনুমতি সেট করে ডাউনলোড করা ফাইলটিকে এক্সিকিউটেবল করুন।
- ম্যাক এবং লিনাক্সে, বাইনারি এক্সিকিউটেবল করতে
chmod +x gactions
চালান। - উইন্ডোজে, আপনার অবশ্যই প্রশাসকের অধিকার থাকতে হবে।
-
gactions
ডাউনলোডের অবস্থান আপনার PATH
পরিবেশ পরিবর্তনশীল হতে হবে।
সমর্থিত যুক্তি
নিম্নলিখিত সারণী gactions
জন্য সমর্থিত আর্গুমেন্ট বর্ণনা করে:
যুক্তি | বর্ণনা |
---|
help , h | এই টুলের জন্য সাহায্য টেক্সট আউটপুট. যেমন:gactions help একটি নির্দিষ্ট আর্গুমেন্টের জন্য সাহায্য পাঠ্য দেখতে, নিম্নলিখিত সিনট্যাক্স ব্যবহার করুন: gactions help argument যেমন: gactions help test |
get | প্রদত্ত প্রকল্পের বিষয়বস্তু পান (ক্রিয়া + মেটাডেটা)। নিম্নলিখিত সিনট্যাক্স ব্যবহার করুন: gactions get --project PROJECT_ID |
init | নিম্নলিখিত সিনট্যাক্স সহ বর্তমান ডিরেক্টরিতে একটি ডিফল্ট action.json ফাইল তৈরি করে:gactions init যদি ইতিমধ্যে একটি বিদ্যমান action.json ফাইল থাকে, তাহলে আপনি --force আর্গুমেন্ট যোগ করে এটিকে ওভাররাইট করতে পারেন, যেমনটি নিম্নলিখিত উদাহরণটি দেখায়: gactions init --force |
list | আপনার অ্যাকশন প্রজেক্টের 10টি পর্যন্ত সাম্প্রতিক সংস্করণগুলি তালিকাভুক্ত করে: পর্যালোচনা, উৎপাদন, অনুমোদিত, ইত্যাদি, নিম্নলিখিত সিনট্যাক্স সহ: gactions list --project PROJECT_ID |
test | নিম্নলিখিত সিনট্যাক্সের সাথে পরীক্ষার জন্য সহকারী প্ল্যাটফর্মে একটি অ্যাকশন প্যাকেজ পুশ করে:gactions test --action_package PACKAGE_NAME --project PROJECT_ID যেমন: gactions test --action_package mypackage.json --project my-project-1234567 আপনি ঐচ্ছিকভাবে এর সাথে স্যান্ডবক্স পরিবেশে পরীক্ষা অক্ষম করতে পারেন --disable_sandbox পতাকা। --preview_mins পতাকা অবচিত করা হয়েছে। |
update | নিম্নলিখিত সিনট্যাক্স সহ প্রদত্ত প্রকল্পের জন্য অ্যাকশন প্যাকেজ আপডেট করে:gactions update --action_package PACKAGE_NAME --project PROJECT_ID যেমন: gactions update --action_package action.json --project my-project-1234567 update আর্গুমেন্ট ব্যবহার করতে, আপনাকে অবশ্যই আপনার অ্যাকশন প্রকল্প আইডি ব্যবহার করতে হবে। আপনি আপনার প্রোজেক্ট আইডি পেতে পারেন আপনার অ্যাকশনস অন Google প্রোজেক্টে সেটিংস গিয়ার settings ক্লিক করে তারপরে প্রজেক্ট সেটিংসে ।
যদি আপনার অ্যাকশন প্রকল্প একাধিক ভাষা সমর্থন করে, তাহলে অ্যাকশন প্যাকেজ ডকুমেন্টেশন দেখুন। |
selfupdate | প্রতিটি কমান্ড চালানোর আগে gactions স্বয়ংক্রিয়ভাবে আপডেটের জন্য চেক করে, কিন্তু আপনি selfupdate দিয়ে চেক করতে বাধ্য করতে পারেন gactions selfupdate |
ভার্বোস আউটপুট দেখুন
প্রক্রিয়াকরণের সময় আরো বিস্তারিত আউটপুট দেখতে, --verbose
পতাকা যোগ করুন। যেমন:
gactions --verbose test --action_package action.json --project my-project-1234567
ডিফল্ট action.json উদাহরণ
আপনি যখন আপনার প্রকল্প ডিরেক্টরিতে gactions init
চালান, তখন আপনি সেই ডিরেক্টরিতে একটি ডিফল্ট action.json
ফাইল তৈরি করেন:
{
"actions": [
{
"description": "Default Welcome Intent",
"name": "MAIN",
"fulfillment": {
"conversationName": "<INSERT YOUR CONVERSATION NAME HERE>"
},
"intent": {
"name": "actions.intent.MAIN",
"trigger": {
"queryPatterns": [
"talk to <INSERT YOUR NAME HERE>"
]
}
}
}
],
"conversations": {
"<INSERT YOUR CONVERSATION NAME HERE>": {
"name": "<INSERT YOUR CONVERSATION NAME HERE>",
"url": "<INSERT YOUR FULLFILLMENT URL HERE>"
}
},
"locale": "<INSERT YOUR LANGUAGE HERE>"
}
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003e\u003ccode\u003egactions\u003c/code\u003e is a command-line interface used to test and manage Actions projects, providing functionalities like updating, testing, and retrieving project data.\u003c/p\u003e\n"],["\u003cp\u003eDownloads for \u003ccode\u003egactions\u003c/code\u003e are available for Windows, Mac, and Linux operating systems, with options for different system architectures like x86_64, i386, and arm.\u003c/p\u003e\n"],["\u003cp\u003eBefore using \u003ccode\u003egactions\u003c/code\u003e, ensure it is executable and its location is added to your system's \u003ccode\u003ePATH\u003c/code\u003e environment variable.\u003c/p\u003e\n"],["\u003cp\u003eKey functionalities include \u003ccode\u003einit\u003c/code\u003e to create an \u003ccode\u003eaction.json\u003c/code\u003e file, \u003ccode\u003etest\u003c/code\u003e to deploy for testing, \u003ccode\u003eupdate\u003c/code\u003e to push updates, and \u003ccode\u003eget\u003c/code\u003e to retrieve project content.\u003c/p\u003e\n"],["\u003cp\u003eFor detailed information about \u003ccode\u003egactions\u003c/code\u003e usage and available arguments, use the \u003ccode\u003ehelp\u003c/code\u003e command or consult the provided documentation.\u003c/p\u003e\n"]]],[],null,["# gactions CLI (Dialogflow)\n\n`gactions` is the command line interface that you use to test and update your\nActions project.\n\nSystem architecture\n-------------------\n\nTo select the proper download, you'll need to find your system architecture.\n\n- On Mac OS X and Linux devices, you can find your computer's CPU architecture using the terminal command\n `uname -a`.\n\n- On Windows 10 devices, take the following steps to find the CPU architecture:\n\n 1. Open **Settings**\n\n 2. Click **System**\n\n 3. Click **About**\n\nDownloads\n---------\n\nYou can download `gactions` for your operating system (below).\n\n| OS | Downloads |\n|---------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Windows | - [x86_64](https://dl.google.com/gactions/updates/bin/windows/amd64/gactions.exe/gactions.exe) - [i386](https://dl.google.com/gactions/updates/bin/windows/386/gactions.exe/gactions.exe) |\n| Mac | - [x86_64](https://dl.google.com/gactions/updates/bin/darwin/amd64/gactions/gactions) - [i386](https://dl.google.com/gactions/updates/bin/darwin/386/gactions/gactions) |\n| Linux | - [x86_64](https://dl.google.com/gactions/updates/bin/linux/amd64/gactions/gactions) - [i386](https://dl.google.com/gactions/updates/bin/linux/386/gactions/gactions) - [arm](https://dl.google.com/gactions/updates/bin/linux/arm/gactions) |\n\nRequirements\n------------\n\n- Make the downloaded file executable by setting the appropriate permissions.\n - On Mac and Linux, run `chmod +x gactions` to make the binary executable.\n - On Windows, you must have Administrator rights.\n- The `gactions` download location must be in your `PATH` environment variable.\n\nSupported arguments\n-------------------\n\nThe following table describes the supported arguments for `gactions`:\n\n| Argument | Description |\n|--------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `help`, `h` | Outputs the help text for this tool. For example: ``` gactions help ``` To view the help text for a specific argument, use the following syntax: ``` gactions help argument ``` For example: ``` gactions help test ``` |\n| `get` | Get the content of the given project (Actions + metadata). Use the following syntax: ``` gactions get --project PROJECT_ID ``` |\n| `init` | Creates a default `action.json` file in the current directory with the following syntax: ``` gactions init ``` If there is already an existing `action.json` file, you can overwrite it by adding the `--force` argument, as the following example shows: ``` gactions init --force ``` |\n| `list` | Lists up to 10 recent versions of your Actions project: in review, production, approved, etc, with the following syntax: ``` gactions list --project PROJECT_ID ``` |\n| `test` | Pushes an action package to the Assistant Platform for testing with the following syntax: ``` gactions test --action_package PACKAGE_NAME --project PROJECT_ID ``` For example: ``` gactions test --action_package mypackage.json --project my-project-1234567 ``` You can optionally disable testing in the sandbox environment with the `--disable_sandbox` flag. `--preview_mins` flag is deprecated. |\n| `update` | Updates the Action package for the given project with the following syntax: ``` gactions update --action_package PACKAGE_NAME --project PROJECT_ID ``` For example: ``` gactions update --action_package action.json --project my-project-1234567 ``` To use the `update` argument, you must use your Action's Project ID. You can get your project ID by clicking the settings gear *settings* in your Actions on Google project followed by **Project Settings**. If your Actions project supports multiple languages, see the [Action package documentation.](/assistant/df-asdk/localization/action-packages) |\n| `selfupdate` | gactions automatically checks for updates before each command runs, but you can force that check with `selfupdate` ``` gactions selfupdate ``` |\n\nView verbose output\n-------------------\n\nTo view more detailed output during processing, add the `--verbose` flag. For example: \n\n```\ngactions --verbose test --action_package action.json --project my-project-1234567\n```\n\nDefault action.json example\n---------------------------\n\nWhen you run `gactions init` in your project directory, you generate a default\n`action.json` file in that directory: \n\n```text\n{\n \"actions\": [\n {\n \"description\": \"Default Welcome Intent\",\n \"name\": \"MAIN\",\n \"fulfillment\": {\n \"conversationName\": \"\u003cINSERT YOUR CONVERSATION NAME HERE\u003e\"\n },\n \"intent\": {\n \"name\": \"actions.intent.MAIN\",\n \"trigger\": {\n \"queryPatterns\": [\n \"talk to \u003cINSERT YOUR NAME HERE\u003e\"\n ]\n }\n }\n }\n ],\n \"conversations\": {\n \"\u003cINSERT YOUR CONVERSATION NAME HERE\u003e\": {\n \"name\": \"\u003cINSERT YOUR CONVERSATION NAME HERE\u003e\",\n \"url\": \"\u003cINSERT YOUR FULLFILLMENT URL HERE\u003e\"\n }\n },\n \"locale\": \"\u003cINSERT YOUR LANGUAGE HERE\u003e\"\n}\n```"]]