Giter Club home page Giter Club logo

windows-admin-center-extension-template's Introduction

Windows Admin Center CLI

The Windows Admin Center CLI was created to simplify the process of generating new tools for the platform.

Usage

There is only one command for the CLI, "Create". In order to create a new tool, type the following:

wac create --company <Your Company Name> --tool<Your Tool Name>

For instance, when creating a tool called Foo for Microsoft, my command would be:

wac create --company Microsoft --tool Foo

You can also use the CLI to create solution extensions as well:

wac create --company Microsoft --tool Foo --solution MySolution

In addition to creating extensions, you can specify which version of the SDK you want to utilize. There are 5 rings for you to choose from:

  • legacy (the GA release behind the current, 2 updates per year)
  • latest (the most current GA release, 2 updates per year)
  • insider (build most recently released to Insiders. Updates monthly)
  • next (current dev build. Updates frequently, up to weekly)
  • experimental (Updates frequently, up to daily)

In order to specify which SDK version you want to use, add the version tag to the create command:

wac create --company Microsoft --tool Foo --version insider

Default value is latest.

Get started with the SDK

Getting started with Windows Admin Center development is easy! Follow along with step-by-step directions to prepare your environment, and learn more about writing and publishing extensions at our documentation site.

Don't have Windows Admin Center installed yet? Download Windows Admin Center.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

windows-admin-center-extension-template's People

Contributors

alcarswe avatar alexanderboswell avatar eajhnsn1 avatar mattatmsft avatar microsoft-github-policy-service[bot] avatar microsoftopensource avatar msftgits avatar nwashburn-ms avatar zschoenstadt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

windows-admin-center-extension-template's Issues

not compiling!

It's not compiling/ running!
There seems to be a problem with the dependencies.
Could you please update them?

Error "wac create --company Microsoft --tool Foo --solution MySolution --version next"

./MySolution
fs.js:115
throw err;
^

Error: ENOENT: no such file or directory, copyfile 'C:\Users\limulidae\AppData\Roaming\npm\node_modules\windows-admin-center-cli\templates\upgrade\package.json' -> './MySolution\package.json'
at Object.copyFileSync (fs.js:1724:3)
at create (C:\Users\limulidae\AppData\Roaming\npm\node_modules\windows-admin-center-cli\src\index.js:83:8)
at createExtension (C:\Users\limulidae\AppData\Roaming\npm\node_modules\windows-admin-center-cli\src\index.js:46:3)

not found file src/powershell-cim-config.json while gulp build

gulp build need file src/powershell-cim-config.json, but it doesn't exist, and I can't find any example for this file.

Starting 'validatePsCimConfig'...
'validatePsCimConfig' errored after
Error: File not found with singular glob: src/powershell-cim-config.json (if this was purposeful, use `allowEmpty` option)
    at Glob.<anonymous> (node_modules\glob-stream\readable.js:84:17)
    at Object.onceWrapper (events.js:422:26)
    at Glob.emit (events.js:315:20)
    at Glob.EventEmitter.emit (domain.js:482:12)
    at Glob._finish (node_modules\glob\glob.js:197:8)
    at done (node_modules\glob\glob.js:182:14)
    at Glob._processSimple2 (node_modules\glob\glob.js:688:12)
    at node_modules\glob\glob.js:676:10
    at Glob._stat2 (node_modules\glob\glob.js:772:12)
    at lstatcb_ (node_modules\glob\glob.js:764:12)
'build' errored after

Spacing issue

After running the WAC create command there were some issues in the strings.ts file from a dash in the resjason file. It was resolved by removing the "-" in the company title. The "-" didn't need to be removed from the section title ("//:" "Test-Feature" was fine).

ex. "Test-Feature_title" => "TestFeature_title"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.