Legerity.PageObjectGenerator
1.0.0-alpha1
dotnet tool install --global Legerity.PageObjectGenerator --version 1.0.0-alpha1
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local Legerity.PageObjectGenerator --version 1.0.0-alpha1
#tool dotnet:?package=Legerity.PageObjectGenerator&version=1.0.0-alpha1&prerelease
nuke :add-package Legerity.PageObjectGenerator --version 1.0.0-alpha1
Legerity page object generator CLI tool
Want to generate your Legerity page objects super fast? 🚀
The Legerity page object generator CLI tool allows you to auto-generate page objects for your Windows and Android application based on page files. (iOS and web coming soon!)
Just provide an input path, output path, and output namespace and you're away! 🤩
Getting started
Install the tool
dotnet tool install -g Legerity.PageObjectGenerator
Or update an existing install
dotnet tool update -g Legerity.PageObjectGenerator
Run the tool
Once you have the tool installed, it is simply a case of running the CLI and providing the input, output, and namespace arguments.
legerity-pop -i "path/to/input/folder" -o "path/to/output/folder" -n "My.Namespace" -p "Windows"
This will read through all the page files that can be found under the input folder, generate a Legerity BasePage
equivalent based on supported elements, and then drop those into your output folder. And that's it!
Platform argument supports: Windows / Android
Contributing 🤝🏻
Contributions, issues and feature requests are welcome!
Feel free to check the issues page. You can also take a look at the contributing guide.
We actively encourage you to jump in and help with any issues, and if you find one, don't forget to log it!
Support this project 💗
As many developers know, projects like Legerity are built and maintained in spare time. If you find this project useful, please Star the repo and if possible, sponsor the project development on GitHub.
License
This project is made available under the terms and conditions of the MIT license.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
1.0.0-alpha1 | 388 | 3/15/2024 |
0.14.0 | 1,742 | 2/17/2023 |
0.13.1 | 1,750 | 12/30/2022 |
0.13.0 | 1,812 | 12/23/2022 |
0.12.0 | 2,003 | 9/8/2022 |
0.12.0-preview2 | 1,805 | 6/9/2022 |
0.12.0-preview1 | 1,931 | 6/9/2022 |
0.11.1 | 1,856 | 6/6/2022 |