mirror of
https://github.com/sern-handler/website
synced 2026-06-16 12:52:20 +00:00
deploy: 2689b95e85
This commit is contained in:
@@ -1 +1 @@
|
||||
"use strict";(self.webpackChunk_sern_website=self.webpackChunk_sern_website||[]).push([[6146],{3905:(e,t,r)=>{r.d(t,{Zo:()=>p,kt:()=>h});var n=r(7294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function l(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),s=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},p=function(e){var t=s(e.components);return n.createElement(u.Provider,{value:t},e.children)},c="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,i=e.originalType,u=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),c=s(r),m=o,h=c["".concat(u,".").concat(m)]||c[m]||d[m]||i;return r?n.createElement(h,a(a({ref:t},p),{},{components:r})):n.createElement(h,a({ref:t},p))}));function h(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,a=new Array(i);a[0]=m;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[c]="string"==typeof e?e:o,a[1]=l;for(var s=2;s<i;s++)a[s]=r[s];return n.createElement.apply(null,a)}return n.createElement.apply(null,r)}m.displayName="MDXCreateElement"},9017:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>d,frontMatter:()=>i,metadata:()=>l,toc:()=>s});var n=r(7462),o=(r(7294),r(3905));const i={sidebar_position:2},a="CLI",l={unversionedId:"guide/walkthrough/cli",id:"guide/walkthrough/cli",title:"CLI",description:"Setting up the CLI is easy.",source:"@site/docs/guide/walkthrough/cli.md",sourceDirName:"guide/walkthrough",slug:"/guide/walkthrough/cli",permalink:"/docs/guide/walkthrough/cli",draft:!1,editUrl:"https://github.com/sern-handler/website/edit/main/docs/guide/walkthrough/cli.md",tags:[],version:"current",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"tutorialSidebar",previous:{title:"Create a new project",permalink:"/docs/guide/walkthrough/new-project"},next:{title:"transition from v2 to v3",permalink:"/docs/guide/walkthrough/transition"}},u={},s=[],p={toc:s},c="wrapper";function d(e){let{components:t,...r}=e;return(0,o.kt)(c,(0,n.Z)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("h1",{id:"cli"},"CLI"),(0,o.kt)("p",null,"Setting up the ",(0,o.kt)("a",{parentName:"p",href:"https://github.com/sern-handler/cli"},"CLI")," is easy. ",(0,o.kt)("br",null),"\nThe cli is your plug to the sern ecosystem. This will allow you to install plugins with ease, install extra utilities, and much more.\nIf you haven't yet: "),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-sh"},"npm install -g @sern/cli\n")),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},"To install ",(0,o.kt)("a",{parentName:"li",href:"/docs/guide/walkthrough/plugins"},"plugins")," maintained by the community ",(0,o.kt)("a",{parentName:"li",href:"https://github.com/sern-handler/awesome-plugins"},"repository"),",")),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre"},"sern plugins\n")),(0,o.kt)("admonition",{type:"info"},(0,o.kt)("p",{parentName:"admonition"},"Make sure to have a correct ",(0,o.kt)("a",{parentName:"p",href:"/docs/guide/walkthrough/good-to-know#sernconfigjson"},"sern.config.json"))),(0,o.kt)("p",null,(0,o.kt)("a",{parentName:"p",href:"../cli"},"Click here")),(0,o.kt)("p",null,"This will display a menu selection of all installable plugins. ",(0,o.kt)("br",null)),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Note"),": You must have a ",(0,o.kt)("a",{parentName:"p",href:"/docs/guide/walkthrough/good-to-know"},"sern.config.json")," to use this command.\nIf you want to view plugins, visit the repository linked above."),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},"To install extra utilities into your project")),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre"},"sern extra\n")))}d.isMDXComponent=!0}}]);
|
||||
"use strict";(self.webpackChunk_sern_website=self.webpackChunk_sern_website||[]).push([[6146],{3905:(e,t,r)=>{r.d(t,{Zo:()=>p,kt:()=>m});var n=r(7294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function l(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),s=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},p=function(e){var t=s(e.components);return n.createElement(u.Provider,{value:t},e.children)},c="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},h=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,i=e.originalType,u=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),c=s(r),h=o,m=c["".concat(u,".").concat(h)]||c[h]||d[h]||i;return r?n.createElement(m,a(a({ref:t},p),{},{components:r})):n.createElement(m,a({ref:t},p))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,a=new Array(i);a[0]=h;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[c]="string"==typeof e?e:o,a[1]=l;for(var s=2;s<i;s++)a[s]=r[s];return n.createElement.apply(null,a)}return n.createElement.apply(null,r)}h.displayName="MDXCreateElement"},9017:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>d,frontMatter:()=>i,metadata:()=>l,toc:()=>s});var n=r(7462),o=(r(7294),r(3905));const i={sidebar_position:2},a="CLI",l={unversionedId:"guide/walkthrough/cli",id:"guide/walkthrough/cli",title:"CLI",description:"Setting up the CLI is easy.",source:"@site/docs/guide/walkthrough/cli.md",sourceDirName:"guide/walkthrough",slug:"/guide/walkthrough/cli",permalink:"/docs/guide/walkthrough/cli",draft:!1,editUrl:"https://github.com/sern-handler/website/edit/main/docs/guide/walkthrough/cli.md",tags:[],version:"current",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"tutorialSidebar",previous:{title:"Create a new project",permalink:"/docs/guide/walkthrough/new-project"},next:{title:"transition from v2 to v3",permalink:"/docs/guide/walkthrough/transition"}},u={},s=[],p={toc:s},c="wrapper";function d(e){let{components:t,...r}=e;return(0,o.kt)(c,(0,n.Z)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("h1",{id:"cli"},"CLI"),(0,o.kt)("p",null,"Setting up the ",(0,o.kt)("a",{parentName:"p",href:"https://github.com/sern-handler/cli"},"CLI")," is easy. ",(0,o.kt)("br",null),"\nThe cli is your plug to the sern ecosystem. This will allow you to install plugins with ease, install extra utilities, and much more.\nIf you haven't yet: "),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-sh"},"npm install -g @sern/cli\n")),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},"To install ",(0,o.kt)("a",{parentName:"li",href:"/docs/guide/walkthrough/plugins"},"plugins")," maintained by the community ",(0,o.kt)("a",{parentName:"li",href:"https://github.com/sern-handler/awesome-plugins"},"repository"),",")),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre"},"sern plugins\n")),(0,o.kt)("admonition",{type:"info"},(0,o.kt)("p",{parentName:"admonition"},"Make sure to have a correct ",(0,o.kt)("a",{parentName:"p",href:"/docs/guide/walkthrough/good-to-know#sernconfigjson"},"sern.config.json"))),(0,o.kt)("p",null,"This will display a menu selection of all installable plugins. ",(0,o.kt)("br",null)),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Note"),": You must have a ",(0,o.kt)("a",{parentName:"p",href:"/docs/guide/walkthrough/good-to-know"},"sern.config.json")," to use this command.\nIf you want to view plugins, visit the repository linked above."),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},"To install extra utilities into your project")),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre"},"sern extra\n")),(0,o.kt)("p",null,"We have a more in depth ",(0,o.kt)("a",{parentName:"p",href:"/docs/cli/"},"guide")," of the CLI"))}d.isMDXComponent=!0}}]);
|
||||
File diff suppressed because one or more lines are too long
@@ -9,7 +9,7 @@
|
||||
|
||||
|
||||
<link rel="search" type="application/opensearchdescription+xml" title="sern - Handlers. Redefined." href="/opensearch.xml"><link rel="stylesheet" href="/assets/css/styles.81ba7e6f.css">
|
||||
<link rel="preload" href="/assets/js/runtime~main.c6eb35da.js" as="script">
|
||||
<link rel="preload" href="/assets/js/runtime~main.f2612df8.js" as="script">
|
||||
<link rel="preload" href="/assets/js/main.f50a9ff0.js" as="script">
|
||||
</head>
|
||||
<body class="navigation-with-keyboard">
|
||||
@@ -49,7 +49,7 @@ Extend the new <a href="/docs/api/classes/CommandExecutable">CommandExecutable</
|
||||
I believe that you should build your own structures however you might like and customize to your liking.
|
||||
In addition, <strong>decorators now unofficially work with modules!</strong>
|
||||
Feel free to use TypeScript experimental decorators to augment and customize your classes. </p><h3 class="anchor anchorWithStickyNavbar_LWe7" id="deprecation-warnings">Deprecation Warnings<a href="#deprecation-warnings" class="hash-link" aria-label="Direct link to Deprecation Warnings" title="Direct link to Deprecation Warnings"></a></h3><p>The next update will bring sern v2 with some important features. Here are some things to watch out for.</p><ul><li><a href="/docs/api/interfaces/Wrapper">Wrapper#client</a> will be deprecated</li><li><a href="/docs/api/interfaces/Wrapper">Wrapper#sernEmitter</a> will be deprecated<ul><li>a SernEmitter will be automatically created once Sern#init is called</li></ul></li><li>The option to pass in a function or array for <a href="/docs/api/interfaces/Wrapper">Wrapper#events</a> will be deprecated. Only strings are accepted.</li><li><a href="/docs/api/classes/SernEmitter">Sern#addExternal</a> will be deprecated in favor of a better way.</li></ul><h3 class="anchor anchorWithStickyNavbar_LWe7" id="dependencies-update">Dependencies Update<a href="#dependencies-update" class="hash-link" aria-label="Direct link to Dependencies Update" title="Direct link to Dependencies Update"></a></h3><ul><li>TypeScript has been updated to 4.8.3</li><li>Discord.js has been upgraded to 14.5</li></ul></div><footer class="row docusaurus-mt-lg"><div class="col"><b>Tags:</b><ul class="tags_jXut padding--none margin-left--sm"><li class="tag_QGVx"><a class="tag_zVej tagRegular_sFm0" href="/blog/tags/release">release</a></li></ul></div></footer></article><nav class="pagination-nav" aria-label="Blog list page navigation"></nav></main></div></div></div><footer class="footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="col footer__col"><div class="footer__title">Information</div><ul class="footer__items clean-list"><li class="footer__item"><a class="footer__link-item" href="/docs/intro">Docs & Guide</a></li></ul></div><div class="col footer__col"><div class="footer__title">Community</div><ul class="footer__items clean-list"><li class="footer__item"><a href="https://stackoverflow.com/questions/tagged/sern-handler" target="_blank" rel="noopener noreferrer" class="footer__link-item">Stack Overflow<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://discord.gg/DwbF5H5JgQ" target="_blank" rel="noopener noreferrer" class="footer__link-item">Discord<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://opencollective.com/sern" target="_blank" rel="noopener noreferrer" class="footer__link-item">Open Collective<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div><div class="col footer__col"><div class="footer__title">More</div><ul class="footer__items clean-list"><li class="footer__item"><a class="footer__link-item" href="/blog">Blog</a></li><li class="footer__item"><a href="https://github.com/sern-handler" target="_blank" rel="noopener noreferrer" class="footer__link-item">GitHub<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div></div><div class="footer__bottom text--center"><div class="footer__copyright">Built with ❤️ by the sern Handler team and its contributors</div></div></div></footer></div>
|
||||
<script src="/assets/js/runtime~main.c6eb35da.js"></script>
|
||||
<script src="/assets/js/runtime~main.f2612df8.js"></script>
|
||||
<script src="/assets/js/main.f50a9ff0.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -9,7 +9,7 @@
|
||||
|
||||
|
||||
<link rel="search" type="application/opensearchdescription+xml" title="sern - Handlers. Redefined." href="/opensearch.xml"><link rel="stylesheet" href="/assets/css/styles.81ba7e6f.css">
|
||||
<link rel="preload" href="/assets/js/runtime~main.c6eb35da.js" as="script">
|
||||
<link rel="preload" href="/assets/js/runtime~main.f2612df8.js" as="script">
|
||||
<link rel="preload" href="/assets/js/main.f50a9ff0.js" as="script">
|
||||
</head>
|
||||
<body class="navigation-with-keyboard">
|
||||
@@ -18,7 +18,7 @@
|
||||
Wow! We're increasing our semantic versioning by <code>+0.3.9</code> <br>
|
||||
What does this mean?</li></ul><h3 class="anchor anchorWithStickyNavbar_LWe7" id="breaking-changes">Breaking changes<a href="#breaking-changes" class="hash-link" aria-label="Direct link to Breaking changes" title="Direct link to Breaking changes"></a></h3><ul><li><a href="/docs/api/modules#controller">controller</a> parameter for plugins has been removed<ul><li>You'll need to import it instead</li><li>This <strong>breaks</strong> old <a href="/docs/api/interfaces/CommandPlugin">CommandPlugin</a>, but <strong>not</strong> old <a href="/docs/api/interfaces/EventPlugin">EventPlugin</a></li></ul></li></ul><h3 class="anchor anchorWithStickyNavbar_LWe7" id="deprecations">Deprecations<a href="#deprecations" class="hash-link" aria-label="Direct link to Deprecations" title="Direct link to Deprecations"></a></h3><ul><li><a href="/docs/api/interfaces/CommandPlugin">CommandPlugin</a> and <a href="/docs/api/interfaces/EventPlugin">EventPlugin</a> have been renamed <a href="/docs/api/interfaces/InitPlugin">InitPlugin</a> and <a href="/docs/api/interfaces/ControlPlugin">ControlPlugin</a></li></ul><h3 class="anchor anchorWithStickyNavbar_LWe7" id="reason">Reason<a href="#reason" class="hash-link" aria-label="Direct link to Reason" title="Direct link to Reason"></a></h3><ul><li>The naming of plugins was getting too complex. For example, plugin naming evolved into CommandModuleCommandPlugin, CommandModuleEventPlugin and more.</li><li>I realize that this affects all plugins. I have updated all <a href="https://github.com/sern-handler/awesome-plugins/pull/68" target="_blank" rel="noopener noreferrer">plugins</a> to match these changes</li><li>The old way of declaring plugins has been deprecated in favor of newer functions that facilitate and ease typings<ul><li><a href="/docs/api/modules#commandcontrolplugin">CommandControlPlugin</a></li><li><a href="/docs/api/modules#commandinitplugin">CommandInitPlugin</a></li><li><a href="/docs/api/modules#eventcontrolplugin">EventControlPlugin</a></li><li><a href="/docs/api/modules#eventinitplugin">EventInitPlugin</a></li><li><a href="/docs/api/modules#discordeventcontrolplugin">DiscordEventControlPlugin</a>
|
||||
This will probably be the last breaking change in a while. Thanks for using sern!</li></ul></li></ul></div><footer class="row docusaurus-mt-lg blogPostFooterDetailsFull_mRVl"><div class="col"><b>Tags:</b><ul class="tags_jXut padding--none margin-left--sm"><li class="tag_QGVx"><a class="tag_zVej tagRegular_sFm0" href="/blog/tags/release">release</a></li></ul></div><div class="col margin-top--sm"><a href="https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/blog/2023-01-12-mdx-blog-post.md" target="_blank" rel="noreferrer noopener" class="theme-edit-this-page"><svg fill="currentColor" height="20" width="20" viewBox="0 0 40 40" class="iconEdit_Z9Sw" aria-hidden="true"><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"></path></g></svg>Edit this page</a></div></footer></article><nav class="pagination-nav docusaurus-mt-lg" aria-label="Blog post page navigation"><a class="pagination-nav__link pagination-nav__link--prev" href="/blog/3.0.0"><div class="pagination-nav__sublabel">Newer Post</div><div class="pagination-nav__label">Release 3.0.0</div></a><a class="pagination-nav__link pagination-nav__link--next" href="/blog/2.0.0"><div class="pagination-nav__sublabel">Older Post</div><div class="pagination-nav__label">Release 2.0.0</div></a></nav></main><div class="col col--2"><div class="tableOfContents_bqdL thin-scrollbar"><ul class="table-of-contents table-of-contents__left-border"><li><a href="#25-release" class="table-of-contents__link toc-highlight">2.5 Release</a><ul><li><a href="#join-our-discord-" class="table-of-contents__link toc-highlight">Join our discord <br></a></li><li><a href="#breaking-changes" class="table-of-contents__link toc-highlight">Breaking changes</a></li><li><a href="#deprecations" class="table-of-contents__link toc-highlight">Deprecations</a></li><li><a href="#reason" class="table-of-contents__link toc-highlight">Reason</a></li></ul></li></ul></div></div></div></div></div><footer class="footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="col footer__col"><div class="footer__title">Information</div><ul class="footer__items clean-list"><li class="footer__item"><a class="footer__link-item" href="/docs/intro">Docs & Guide</a></li></ul></div><div class="col footer__col"><div class="footer__title">Community</div><ul class="footer__items clean-list"><li class="footer__item"><a href="https://stackoverflow.com/questions/tagged/sern-handler" target="_blank" rel="noopener noreferrer" class="footer__link-item">Stack Overflow<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://discord.gg/DwbF5H5JgQ" target="_blank" rel="noopener noreferrer" class="footer__link-item">Discord<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://opencollective.com/sern" target="_blank" rel="noopener noreferrer" class="footer__link-item">Open Collective<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div><div class="col footer__col"><div class="footer__title">More</div><ul class="footer__items clean-list"><li class="footer__item"><a class="footer__link-item" href="/blog">Blog</a></li><li class="footer__item"><a href="https://github.com/sern-handler" target="_blank" rel="noopener noreferrer" class="footer__link-item">GitHub<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div></div><div class="footer__bottom text--center"><div class="footer__copyright">Built with ❤️ by the sern Handler team and its contributors</div></div></div></footer></div>
|
||||
<script src="/assets/js/runtime~main.c6eb35da.js"></script>
|
||||
<script src="/assets/js/runtime~main.f2612df8.js"></script>
|
||||
<script src="/assets/js/main.f50a9ff0.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -9,7 +9,7 @@
|
||||
|
||||
|
||||
<link rel="search" type="application/opensearchdescription+xml" title="sern - Handlers. Redefined." href="/opensearch.xml"><link rel="stylesheet" href="/assets/css/styles.81ba7e6f.css">
|
||||
<link rel="preload" href="/assets/js/runtime~main.c6eb35da.js" as="script">
|
||||
<link rel="preload" href="/assets/js/runtime~main.f2612df8.js" as="script">
|
||||
<link rel="preload" href="/assets/js/main.f50a9ff0.js" as="script">
|
||||
</head>
|
||||
<body class="navigation-with-keyboard">
|
||||
@@ -18,7 +18,7 @@
|
||||
<strong>A</strong>: Install the publish extension. Little video: </p><video width="400" controls=""><source src="https://srizan.s-ul.eu/uHzPhfcS" type="video/mp4"></video><p><strong>Q</strong>: Any snippet VSCode extension?<br>
|
||||
<strong>A</strong>: Yeah, just search <code>sern Snippets</code> made by a verified publisher called Sr Izan (haha yeah me funny!) </p><p><strong>Q</strong>: HEEEELLLPPPP!!!!<br>
|
||||
<strong>A</strong>: Hey, don't panic! We're here to help so, join the <a href="https://sern.dev/discord" target="_blank" rel="noopener noreferrer">Discord</a>. We're trying to get to 100 members!</p></div><footer class="row docusaurus-mt-lg blogPostFooterDetailsFull_mRVl"><div class="col"><b>Tags:</b><ul class="tags_jXut padding--none margin-left--sm"><li class="tag_QGVx"><a class="tag_zVej tagRegular_sFm0" href="/blog/tags/guides">guides</a></li></ul></div><div class="col margin-top--sm"><a href="https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/blog/2022-09-30-mdx-blog-post.md" target="_blank" rel="noreferrer noopener" class="theme-edit-this-page"><svg fill="currentColor" height="20" width="20" viewBox="0 0 40 40" class="iconEdit_Z9Sw" aria-hidden="true"><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"></path></g></svg>Edit this page</a></div></footer></article><nav class="pagination-nav docusaurus-mt-lg" aria-label="Blog post page navigation"><a class="pagination-nav__link pagination-nav__link--prev" href="/blog/2.0.0"><div class="pagination-nav__sublabel">Newer Post</div><div class="pagination-nav__label">Release 2.0.0</div></a><a class="pagination-nav__link pagination-nav__link--next" href="/blog/1.2.0"><div class="pagination-nav__sublabel">Older Post</div><div class="pagination-nav__label">Release 1.2.0</div></a></nav></main><div class="col col--2"><div class="tableOfContents_bqdL thin-scrollbar"><ul class="table-of-contents table-of-contents__left-border"><li><a href="#hello-everyone" class="table-of-contents__link toc-highlight">Hello everyone!</a><ul><li><a href="#step-1-install-the-cli" class="table-of-contents__link toc-highlight">Step 1: Install the CLI.</a></li><li><a href="#step-2-have-some-way-to-store-secrets" class="table-of-contents__link toc-highlight">Step 2: Have some way to store secrets.</a></li><li><a href="#and-thats-it" class="table-of-contents__link toc-highlight">And... that's it?</a></li><li><a href="#extra-video-tutorial" class="table-of-contents__link toc-highlight">Extra: Video tutorial!</a></li></ul></li><li><a href="#faq" class="table-of-contents__link toc-highlight">FAQ</a></li></ul></div></div></div></div></div><footer class="footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="col footer__col"><div class="footer__title">Information</div><ul class="footer__items clean-list"><li class="footer__item"><a class="footer__link-item" href="/docs/intro">Docs & Guide</a></li></ul></div><div class="col footer__col"><div class="footer__title">Community</div><ul class="footer__items clean-list"><li class="footer__item"><a href="https://stackoverflow.com/questions/tagged/sern-handler" target="_blank" rel="noopener noreferrer" class="footer__link-item">Stack Overflow<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://discord.gg/DwbF5H5JgQ" target="_blank" rel="noopener noreferrer" class="footer__link-item">Discord<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://opencollective.com/sern" target="_blank" rel="noopener noreferrer" class="footer__link-item">Open Collective<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div><div class="col footer__col"><div class="footer__title">More</div><ul class="footer__items clean-list"><li class="footer__item"><a class="footer__link-item" href="/blog">Blog</a></li><li class="footer__item"><a href="https://github.com/sern-handler" target="_blank" rel="noopener noreferrer" class="footer__link-item">GitHub<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div></div><div class="footer__bottom text--center"><div class="footer__copyright">Built with ❤️ by the sern Handler team and its contributors</div></div></div></footer></div>
|
||||
<script src="/assets/js/runtime~main.c6eb35da.js"></script>
|
||||
<script src="/assets/js/runtime~main.f2612df8.js"></script>
|
||||
<script src="/assets/js/main.f50a9ff0.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -9,7 +9,7 @@
|
||||
|
||||
|
||||
<link rel="search" type="application/opensearchdescription+xml" title="sern - Handlers. Redefined." href="/opensearch.xml"><link rel="stylesheet" href="/assets/css/styles.81ba7e6f.css">
|
||||
<link rel="preload" href="/assets/js/runtime~main.c6eb35da.js" as="script">
|
||||
<link rel="preload" href="/assets/js/runtime~main.f2612df8.js" as="script">
|
||||
<link rel="preload" href="/assets/js/main.f50a9ff0.js" as="script">
|
||||
</head>
|
||||
<body class="navigation-with-keyboard">
|
||||
@@ -18,7 +18,7 @@
|
||||
<strong>A</strong>: Install the publish extension. Little video: </p><video width="400" controls=""><source src="https://srizan.s-ul.eu/uHzPhfcS" type="video/mp4"></video><p><strong>Q</strong>: Any snippet VSCode extension?<br>
|
||||
<strong>A</strong>: Yeah, just search <code>sern Snippets</code> made by a verified publisher called Sr Izan (haha yeah me funny!) </p><p><strong>Q</strong>: HEEEELLLPPPP!!!!<br>
|
||||
<strong>A</strong>: Hey, don't panic! We're here to help so, join the <a href="https://sern.dev/discord" target="_blank" rel="noopener noreferrer">Discord</a>. We're trying to get to 100 members!</p></div><footer class="row docusaurus-mt-lg"><div class="col"><b>Tags:</b><ul class="tags_jXut padding--none margin-left--sm"><li class="tag_QGVx"><a class="tag_zVej tagRegular_sFm0" href="/blog/tags/guides">guides</a></li></ul></div></footer></article><nav class="pagination-nav" aria-label="Blog list page navigation"></nav></main></div></div></div><footer class="footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="col footer__col"><div class="footer__title">Information</div><ul class="footer__items clean-list"><li class="footer__item"><a class="footer__link-item" href="/docs/intro">Docs & Guide</a></li></ul></div><div class="col footer__col"><div class="footer__title">Community</div><ul class="footer__items clean-list"><li class="footer__item"><a href="https://stackoverflow.com/questions/tagged/sern-handler" target="_blank" rel="noopener noreferrer" class="footer__link-item">Stack Overflow<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://discord.gg/DwbF5H5JgQ" target="_blank" rel="noopener noreferrer" class="footer__link-item">Discord<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://opencollective.com/sern" target="_blank" rel="noopener noreferrer" class="footer__link-item">Open Collective<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div><div class="col footer__col"><div class="footer__title">More</div><ul class="footer__items clean-list"><li class="footer__item"><a class="footer__link-item" href="/blog">Blog</a></li><li class="footer__item"><a href="https://github.com/sern-handler" target="_blank" rel="noopener noreferrer" class="footer__link-item">GitHub<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div></div><div class="footer__bottom text--center"><div class="footer__copyright">Built with ❤️ by the sern Handler team and its contributors</div></div></div></footer></div>
|
||||
<script src="/assets/js/runtime~main.c6eb35da.js"></script>
|
||||
<script src="/assets/js/runtime~main.f2612df8.js"></script>
|
||||
<script src="/assets/js/main.f50a9ff0.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
|
||||
<link rel="search" type="application/opensearchdescription+xml" title="sern - Handlers. Redefined." href="/opensearch.xml"><link rel="stylesheet" href="/assets/css/styles.81ba7e6f.css">
|
||||
<link rel="preload" href="/assets/js/runtime~main.c6eb35da.js" as="script">
|
||||
<link rel="preload" href="/assets/js/runtime~main.f2612df8.js" as="script">
|
||||
<link rel="preload" href="/assets/js/main.f50a9ff0.js" as="script">
|
||||
</head>
|
||||
<body class="navigation-with-keyboard">
|
||||
@@ -38,7 +38,7 @@ Extend the new <a href="/blog/tags/docs/api/classes/CommandExecutable">CommandEx
|
||||
I believe that you should build your own structures however you might like and customize to your liking.
|
||||
In addition, <strong>decorators now unofficially work with modules!</strong>
|
||||
Feel free to use TypeScript experimental decorators to augment and customize your classes. </p><h3 class="anchor anchorWithStickyNavbar_LWe7" id="deprecation-warnings">Deprecation Warnings<a href="#deprecation-warnings" class="hash-link" aria-label="Direct link to Deprecation Warnings" title="Direct link to Deprecation Warnings"></a></h3><p>The next update will bring sern v2 with some important features. Here are some things to watch out for.</p><ul><li><a href="/blog/tags/docs/api/interfaces/Wrapper">Wrapper#client</a> will be deprecated</li><li><a href="/blog/tags/docs/api/interfaces/Wrapper">Wrapper#sernEmitter</a> will be deprecated<ul><li>a SernEmitter will be automatically created once Sern#init is called</li></ul></li><li>The option to pass in a function or array for <a href="/blog/tags/docs/api/interfaces/Wrapper">Wrapper#events</a> will be deprecated. Only strings are accepted.</li><li><a href="/blog/tags/docs/api/classes/SernEmitter">Sern#addExternal</a> will be deprecated in favor of a better way.</li></ul><h3 class="anchor anchorWithStickyNavbar_LWe7" id="dependencies-update">Dependencies Update<a href="#dependencies-update" class="hash-link" aria-label="Direct link to Dependencies Update" title="Direct link to Dependencies Update"></a></h3><ul><li>TypeScript has been updated to 4.8.3</li><li>Discord.js has been upgraded to 14.5</li></ul></div><footer class="row docusaurus-mt-lg"><div class="col"><b>Tags:</b><ul class="tags_jXut padding--none margin-left--sm"><li class="tag_QGVx"><a class="tag_zVej tagRegular_sFm0" href="/blog/tags/release">release</a></li></ul></div></footer></article><nav class="pagination-nav" aria-label="Blog list page navigation"></nav></main></div></div></div><footer class="footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="col footer__col"><div class="footer__title">Information</div><ul class="footer__items clean-list"><li class="footer__item"><a class="footer__link-item" href="/docs/intro">Docs & Guide</a></li></ul></div><div class="col footer__col"><div class="footer__title">Community</div><ul class="footer__items clean-list"><li class="footer__item"><a href="https://stackoverflow.com/questions/tagged/sern-handler" target="_blank" rel="noopener noreferrer" class="footer__link-item">Stack Overflow<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://discord.gg/DwbF5H5JgQ" target="_blank" rel="noopener noreferrer" class="footer__link-item">Discord<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://opencollective.com/sern" target="_blank" rel="noopener noreferrer" class="footer__link-item">Open Collective<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div><div class="col footer__col"><div class="footer__title">More</div><ul class="footer__items clean-list"><li class="footer__item"><a class="footer__link-item" href="/blog">Blog</a></li><li class="footer__item"><a href="https://github.com/sern-handler" target="_blank" rel="noopener noreferrer" class="footer__link-item">GitHub<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div></div><div class="footer__bottom text--center"><div class="footer__copyright">Built with ❤️ by the sern Handler team and its contributors</div></div></div></footer></div>
|
||||
<script src="/assets/js/runtime~main.c6eb35da.js"></script>
|
||||
<script src="/assets/js/runtime~main.f2612df8.js"></script>
|
||||
<script src="/assets/js/main.f50a9ff0.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
"use strict";(self.webpackChunk_sern_website=self.webpackChunk_sern_website||[]).push([[6146],{3905:(e,t,r)=>{r.d(t,{Zo:()=>p,kt:()=>h});var n=r(7294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function l(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),s=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},p=function(e){var t=s(e.components);return n.createElement(u.Provider,{value:t},e.children)},c="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,i=e.originalType,u=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),c=s(r),m=o,h=c["".concat(u,".").concat(m)]||c[m]||d[m]||i;return r?n.createElement(h,a(a({ref:t},p),{},{components:r})):n.createElement(h,a({ref:t},p))}));function h(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,a=new Array(i);a[0]=m;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[c]="string"==typeof e?e:o,a[1]=l;for(var s=2;s<i;s++)a[s]=r[s];return n.createElement.apply(null,a)}return n.createElement.apply(null,r)}m.displayName="MDXCreateElement"},9017:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>d,frontMatter:()=>i,metadata:()=>l,toc:()=>s});var n=r(7462),o=(r(7294),r(3905));const i={sidebar_position:2},a="CLI",l={unversionedId:"guide/walkthrough/cli",id:"guide/walkthrough/cli",title:"CLI",description:"Setting up the CLI is easy.",source:"@site/docs/guide/walkthrough/cli.md",sourceDirName:"guide/walkthrough",slug:"/guide/walkthrough/cli",permalink:"/fr/docs/guide/walkthrough/cli",draft:!1,editUrl:"https://github.com/sern-handler/website/edit/main/docs/guide/walkthrough/cli.md",tags:[],version:"current",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"tutorialSidebar",previous:{title:"Create a new project",permalink:"/fr/docs/guide/walkthrough/new-project"},next:{title:"transition from v2 to v3",permalink:"/fr/docs/guide/walkthrough/transition"}},u={},s=[],p={toc:s},c="wrapper";function d(e){let{components:t,...r}=e;return(0,o.kt)(c,(0,n.Z)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("h1",{id:"cli"},"CLI"),(0,o.kt)("p",null,"Setting up the ",(0,o.kt)("a",{parentName:"p",href:"https://github.com/sern-handler/cli"},"CLI")," is easy. ",(0,o.kt)("br",null),"\nThe cli is your plug to the sern ecosystem. This will allow you to install plugins with ease, install extra utilities, and much more.\nIf you haven't yet: "),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-sh"},"npm install -g @sern/cli\n")),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},"To install ",(0,o.kt)("a",{parentName:"li",href:"/fr/docs/guide/walkthrough/plugins"},"plugins")," maintained by the community ",(0,o.kt)("a",{parentName:"li",href:"https://github.com/sern-handler/awesome-plugins"},"repository"),",")),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre"},"sern plugins\n")),(0,o.kt)("admonition",{type:"info"},(0,o.kt)("p",{parentName:"admonition"},"Make sure to have a correct ",(0,o.kt)("a",{parentName:"p",href:"/fr/docs/guide/walkthrough/good-to-know#sernconfigjson"},"sern.config.json"))),(0,o.kt)("p",null,(0,o.kt)("a",{parentName:"p",href:"../cli"},"Click here")),(0,o.kt)("p",null,"This will display a menu selection of all installable plugins. ",(0,o.kt)("br",null)),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Note"),": You must have a ",(0,o.kt)("a",{parentName:"p",href:"/fr/docs/guide/walkthrough/good-to-know"},"sern.config.json")," to use this command.\nIf you want to view plugins, visit the repository linked above."),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},"To install extra utilities into your project")),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre"},"sern extra\n")))}d.isMDXComponent=!0}}]);
|
||||
"use strict";(self.webpackChunk_sern_website=self.webpackChunk_sern_website||[]).push([[6146],{3905:(e,t,r)=>{r.d(t,{Zo:()=>p,kt:()=>m});var n=r(7294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function l(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),s=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},p=function(e){var t=s(e.components);return n.createElement(u.Provider,{value:t},e.children)},c="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},h=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,i=e.originalType,u=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),c=s(r),h=o,m=c["".concat(u,".").concat(h)]||c[h]||d[h]||i;return r?n.createElement(m,a(a({ref:t},p),{},{components:r})):n.createElement(m,a({ref:t},p))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,a=new Array(i);a[0]=h;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[c]="string"==typeof e?e:o,a[1]=l;for(var s=2;s<i;s++)a[s]=r[s];return n.createElement.apply(null,a)}return n.createElement.apply(null,r)}h.displayName="MDXCreateElement"},9017:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>d,frontMatter:()=>i,metadata:()=>l,toc:()=>s});var n=r(7462),o=(r(7294),r(3905));const i={sidebar_position:2},a="CLI",l={unversionedId:"guide/walkthrough/cli",id:"guide/walkthrough/cli",title:"CLI",description:"Setting up the CLI is easy.",source:"@site/docs/guide/walkthrough/cli.md",sourceDirName:"guide/walkthrough",slug:"/guide/walkthrough/cli",permalink:"/fr/docs/guide/walkthrough/cli",draft:!1,editUrl:"https://github.com/sern-handler/website/edit/main/docs/guide/walkthrough/cli.md",tags:[],version:"current",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"tutorialSidebar",previous:{title:"Create a new project",permalink:"/fr/docs/guide/walkthrough/new-project"},next:{title:"transition from v2 to v3",permalink:"/fr/docs/guide/walkthrough/transition"}},u={},s=[],p={toc:s},c="wrapper";function d(e){let{components:t,...r}=e;return(0,o.kt)(c,(0,n.Z)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("h1",{id:"cli"},"CLI"),(0,o.kt)("p",null,"Setting up the ",(0,o.kt)("a",{parentName:"p",href:"https://github.com/sern-handler/cli"},"CLI")," is easy. ",(0,o.kt)("br",null),"\nThe cli is your plug to the sern ecosystem. This will allow you to install plugins with ease, install extra utilities, and much more.\nIf you haven't yet: "),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-sh"},"npm install -g @sern/cli\n")),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},"To install ",(0,o.kt)("a",{parentName:"li",href:"/fr/docs/guide/walkthrough/plugins"},"plugins")," maintained by the community ",(0,o.kt)("a",{parentName:"li",href:"https://github.com/sern-handler/awesome-plugins"},"repository"),",")),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre"},"sern plugins\n")),(0,o.kt)("admonition",{type:"info"},(0,o.kt)("p",{parentName:"admonition"},"Make sure to have a correct ",(0,o.kt)("a",{parentName:"p",href:"/fr/docs/guide/walkthrough/good-to-know#sernconfigjson"},"sern.config.json"))),(0,o.kt)("p",null,"This will display a menu selection of all installable plugins. ",(0,o.kt)("br",null)),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Note"),": You must have a ",(0,o.kt)("a",{parentName:"p",href:"/fr/docs/guide/walkthrough/good-to-know"},"sern.config.json")," to use this command.\nIf you want to view plugins, visit the repository linked above."),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},"To install extra utilities into your project")),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre"},"sern extra\n")),(0,o.kt)("p",null,"We have a more in depth ",(0,o.kt)("a",{parentName:"p",href:"/fr/docs/cli/"},"guide")," of the CLI"))}d.isMDXComponent=!0}}]);
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user