Skip to content

Commit

Permalink
Update the json snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaunLawrie committed Aug 25, 2024
1 parent cf58911 commit 10c705d
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 21 deletions.
4 changes: 4 additions & 0 deletions PwshSpectreConsole.Docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ export default defineConfig({
label: "Getting Started",
link: "/guides/get-started/",
},
{
label: "Upgrading to 2.0",
link: "/guides/upgrading-to-2-0/",
},
{
label: "FAQs",
link: "/guides/faqs/",
Expand Down
26 changes: 13 additions & 13 deletions PwshSpectreConsole.Docs/src/content/docs/guides/faqs.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
title: Frequently Asked Questions
description: What is this?
---

1. **What is Spectre Console?**
Spectre Console is a .NET library to help people create really, really, ridiculously good-looking console applications in C# and other languages. See [https://spectreconsole.net/](https://spectreconsole.net/) for the original project.

2. **Why build PwshSpectreConsole?**
The original library uses a lot of C# features that are not easily accessible in PowerShell so PwshSpectreConsole wraps the library to make it easier to use for the basic use-cases. I also like to write a lot of PowerShell and find some of the PowerShell core library options a bit boring for my scripts.

3. **Why are there features missing?**
This is a starting point, it covers the basics of the library and the most common use-cases. If you want to do something more advanced, you can use the [Spectre.Console](https://spectreconsole.net/) library directly for which there are lots of examples in the source code [for this repository on Github](https://github.com/ShaunLawrie/PwshSpectreConsole).
---
title: Frequently Asked Questions
description: What is this?
---

1. **What is Spectre Console?**
Spectre Console is a .NET library to help people create really, really, ridiculously good-looking console applications in C# and other languages. See [https://spectreconsole.net/](https://spectreconsole.net/) for the original project.

2. **Why build PwshSpectreConsole?**
The original library uses a lot of C# features that are not easily accessible in PowerShell so PwshSpectreConsole wraps the library to make it easier to use for the basic use-cases. I also like to write a lot of PowerShell and find some of the PowerShell core library options a bit boring for my scripts.

3. **Why is this not written in C#?**
I wanted to see if I could do it in PowerShell and I think it's a fun project. I also wanted to see if I could make it easier to use for PowerShell users to contribute if they're not familiar with C#.
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
{
"Name": "John",
"Age": 25,
"Age": 25,
"City": "New York",
"IsEmployed": true,
"Salary": 10,
"Salary": 10,
"Hobbies": [
"Reading",
"Swimming"
],
"Address": {
"Address": {
"Street": "123 Main St",
"City": "New York",
"Deep": {
"Deep": {
"Nested": "System.Collections.Hashtable"
},
},
"State": "NY",
"Zip": "10001"
}
}
}
}

0 comments on commit 10c705d

Please sign in to comment.